[Solved] SQL Date Variables in Python

[ad_1]

I tried this and now it worked

query2 ="""insert into table xyz(select * from abc where date_time = %s)"""
cur.execute(query2,(rows))

Though, I don’t know why it worked and how is it different from what I was trying earlier

[ad_2]

solved SQL Date Variables in Python