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`;

posted @ 2016-03-24 09:43  yanying12138  阅读(130)  评论(0编辑  收藏  举报