如何在查询结果中 再用sql语句升序和降序排列

如题所述

就在原查询语句加升序或降序子句,再查询。
温馨提示:内容为网友见解,仅供参考
第1个回答  2017-01-11
select * from news where typeid=’000501‘ order by typeid asc 升序
select * from news where typeid=’000501‘ order by typeid desc 降序本回答被网友采纳
相似回答