"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 ''zhaoqiuyu' (`NAME`,`PRICE`,`COUNT`) values('电脑',1999,1)' at lin
"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 ''zhaoqiuyu' (NAME
,PRICE
,COUNT
) values('电脑',1999,1)' at line 1")
sql语句错误,多半是占位符引号问题,注意%s 需不需要加 ' '