mysql 关键字bug

今天运行语句 select * from order;

出现bug:

ERROR 1064 (42000): 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 'order' at line 1

后来找出原因是order为mysql的关键字

改为 select * from `order`;

上一篇:Spring MVC与表单日期提交的问题


下一篇:javascript 数据类型 -- 检测