我正在尝试使用Python插入到MySQL数据库中,但我有一个自动增量列(TeamID)。我正在使用下面的几行代码,它就像一个护身符。但是我不想在我的Python脚本中指定TeamID,因为它是自动递增的cur.execute ("INSERT INTO teams values (%d, '%s', %d, '%s')"我希望通过脚本自动添加此值编辑: db="
当我执行以下语句时,我得到了以下错误 Id, Date, me_date, Match, team1, team2, You have an error in your SQL syntax; check the manual that corresponds to your MySQLWarnings: --->
W (1): You have an error in your SQL synta