groupby orderby同时使用

来源:互联网 发布:马哥linux 编辑:程序博客网 时间:2024/04/28 13:27
select t1.*from (select * from 表名 order by username,datetime asc) t1group by t1.username

原创粉丝点击