华农DrLai的博客1.[42000][1064] 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' where order_id = 1' at line 3 ...
kira不羡仙的博客 --order by 关键字后面除了可以跟列名,还可以跟 列的别名、表达式、列号 --跟表达式 select empno,ename,sal,hiredate,sal*12 "年薪" from emp order by sal*12 desc; --跟列号。列号从1开始,列号5就是select语句...