数据库语法错误You have an error in your SQL syntax

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 ‘-4,4’ at line 1 Query: select id , name , author , price , sales , stock , img_path imgPath from t_book limit ?,? Parameters: [-4, 4]
在这里插入图片描述
这是SQL语句语法有错误,根据后面具体提示,检查语句什么地方语法错误,改正就好。

猜你喜欢

转载自blog.csdn.net/qq_43881663/article/details/113104984