时间:2021-07-01 10:21:17 帮助过:19人阅读
select distinct(name),high from users order by high desc; ## 注意 distinct必须放在第一位,desc降序,distinct不会对结果进行排序
select * from users group by name;
select * from users limit 3 order by desc;
mysql 常用sql语句 二
标签:查询 name pre ## 必须 常用sql语句 users 常用sql 基本