mysql中排序
Posted 小明在线
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql中排序相关的知识,希望对你有一定的参考价值。
排序(默认:asc升序; desc降序
如:根据成绩从高到低排序
select * from stu_info order by mark desc;
根据成绩从低到高排序
select * from stu_info order by mark asc;
以上是关于mysql中排序的主要内容,如果未能解决你的问题,请参考以下文章
初识Spring源码 -- doResolveDependency | findAutowireCandidates | @Order@Priority调用排序 | @Autowired注入(代码片段
使用 json rereiver php mysql 在片段中填充列表视图
连接MySQL出现错误:ERROR 1045 (28000): Access denied for user ‘root‘@‘localhost‘ (using password: YES)(代码片段
LeetCode810. 黑板异或游戏/455. 分发饼干/剑指Offer 53 - I. 在排序数组中查找数字 I/53 - II. 0~n-1中缺失的数字/54. 二叉搜索树的第k大节点(代码片段