This topic created in 1992 days ago, the information mentioned may be changed or developed.
使用 pymysql 的 execute 方法执行 SQL 语句
SQL 语句如下: SET @days := 10; SELECT @days as 'days';
报语法错误 (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 'SELECT @days AS 'days'' at line 4")