排序 order by 的用法时间:2023-03-10 00:15:49 order by 跟在select* from 后面 order by 默认的是升序, asc 升序 desc 降序 select * from 表名 order by 字段名 asc 在带有过滤条件的情况下, 跟在where后面 select * from A where Age>23 order by Salary desc