奥礼网
新记
如何在查询结果中 再用sql语句升序和降序排列
如题所述
举报该文章
相关建议 2017-01-11
å°±å¨åæ¥è¯¢è¯å¥å ååºæéåºåå¥ï¼åæ¥è¯¢ã
温馨提示:内容为网友见解,仅供参考
当前网址:
https://aolonic.com/aa/1a154d35n3kgdnan13d.html
其他看法
第1个回答 2017-01-11
select * from news where typeid=’000501‘ order by typeid asc 升序
select * from news where typeid=’000501‘ order by typeid desc 降序
本回答被网友采纳
相似回答
大家正在搜
相关问题
sql查询降序和升序的问题
select语句对对查询结果排序时,用( )子句指定排序字段...
sql 升序降序排列
请问我在SQL中如何让查询出来的数据进行降序或升序排列
sql 中排序先按某字段升序,后按某字段降序。
求一条sql语句,按照成绩降序排序,并显示名次,如123
sql查询降序和升序的问题
sql语句排序, 在查询结果中按人数降序排列,若人数相同,则...