pymysql.err.InternalError: (1054, "Unknown column 'firsttitle' in 'field list'")

import pymysql conn1 = pymysql.connect(host="127.0.0.1",user="root",password="1234",db="mypydb") x = 'firsttitle' y = 'firstkeyword' sql = "INSERT INTO mytb(title,keywd) VALUES(%s,%s)"%(x,y) conn1
相關文章
相關標籤/搜索