语法:
select 字段列表 from 表名 where 条件 group by 分组字段 having 分组后的条件 order by 排序 limit 分页限定
select 字段列表 from 表名 order by 字段名 [ASC or DESC];
选择:
ASC 升序排序,默认
DESC 降序排序
示例:
MySQL DQL语法 排序查询
原文:https://www.cnblogs.com/septembercold/p/14465500.html