追过的夏天

遇到的check the manual that corresponds to your MySQL server version for the right syntax错误

遇到的check the manual that corresponds to your MySQL server version for the right syntax错误。

结果发现是SQL关键字冲突。

可能是经验不够吧。

有个字段名我命名为desc,表示描述(description)。却没有注意到,该desc与SQL查询语句中的降序排列关键字DESC冲突了!

后修改desc为descpt即问题解决!

posted on 2014-02-21 15:10  a97106293  阅读(17961)  评论(0编辑  收藏  举报

导航