order by

order by(指定排序的列,排序的列既可以是表中的列名,也可以是select语句后指定的列名)

desc

image.png

asc(默认)

image.png

上一篇 下一篇