2019-03-11
阅读量:
754
写出发帖数最多的十个人名字的SQL
问题描述:
写出发帖数最多的十个人名字的SQL,利用下表posts(id ,username, content)【id:序号,username:用户名,content:文章内容】
解决方法:
select username,count(username) as total from posts GROUP BY username order by total desc limit 10;






评论(0)


暂无数据
推荐帖子
0条评论
0条评论
1条评论