MySQL数据排序asc、desc

数据排序 asc、desc 一、单一字段排序order by 字段名称  做用: 经过哪一个或哪些字段进行排序  含义: 排序采用 order by 子句,order by 后面跟上排序字段,排序字段能够放多个,多个采用逗号间隔,order by默认采用升序(asc),若是存在 where 子句,那么 order by 必须放到where 语句后面。  (1)、按照薪水由小到大排序(系统默认由小到
相关文章
相关标签/搜索