check the manual that corresponds to your MySQL server version for the right syntax to use near
check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE 价格=11’ at line 1
注意这种一般情况下是语法问题,说明mysql的各种语句还是不够熟练,
(1)看表名是不是使用了Mysql的关键字,如果是,请立马改掉;
(2)语句给出哪里错误,如我的题目中给出“near”,说明在那附近有问题,我的错误是,在where前多加了逗号,去掉就行了
还没有评论,来说两句吧...