地狱家伙刚刚跳入python,我很难弄清楚这一点
我有 2 个查询。. query1
现在query2
我怎么能说
row = cursor.fetchone()
我指的是query1
而不是query2
cursor = conn.cursor()
query1 = cursor.execute("select * FROM spam")
query2 = cursor.execute("select * FROM eggs")
row = cursor.fetchone ()
多谢你们