py__z
2021-10-25 13:47
采纳率: 85.7%
浏览 86
已结题

关于#python#的问题:sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError)

sqlalchemy.exc.ProgrammingError: (pymysql.err.ProgrammingError) (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'data WHERE Date>='2005-01-01' AND Date<='2018-12-31' AND Stkcd='000001'' at line 1")
[SQL: SELECT Date,Close FROM stock trading data WHERE Date>='2005-01-01' AND Date<='2018-12-31' AND Stkcd='000001']
这个错误是什么原因呢

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题