错误描述:
java.sql.SQLSyntaxErrorException: 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 'desc,status FROM cat
原因:
desc是MySql关键字,替换掉即可。
错误描述:
java.sql.SQLSyntaxErrorException: 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 'desc,status FROM cat
原因:
desc是MySql关键字,替换掉即可。