MySQL按出现次数排序

[复制链接]
查看1 | 回复0 | 2022-12-10 16:09:01 | 显示全部楼层 |阅读模式
select `author`,count(*) from pre_forum_thread group by author order by count(*) DESC

记录此功能
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

11

主题

3

回帖

187

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
187
热门排行