order by:
用来对数据库的一组数据进行排序
desc:降序
asc:升序
格式: sql = "select 表内容名 from 数据库表名 order by 列名 asc"
MySQL —— 查询升序和降序
最新推荐文章于 2022-03-09 19:54:07 发布
order by:
用来对数据库的一组数据进行排序
desc:降序
asc:升序
格式: sql = "select 表内容名 from 数据库表名 order by 列名 asc"