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']
这个错误是什么原因呢
sql语句有语法错误