- 博客(1)
- 收藏
- 关注
原创 sql学习 ORDER BY ……ASC/DESC 多列
ORDER BY 子句实现数据的排序. 例如: SELECT * FROM Customers ORDER BY Country ASC, CustomerName DESC; 知识点: DESC: 代表降序. ASC: 代表升序.(不写默认升序) 查询结果首先按照Country进行升序排序,Country相等的数据行,再按照CustomerName降序排列. 如果是有更多的排序字段中间用逗号隔...
2020-01-15 17:06:03 1783
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人