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

原文地址:https://www.cnblogs.com/Brittany-yan/p/5314215.html