select ip,count() from ceshi where group by ip HAVING count() > 2 order by count(*) DESC limit 10
mysql 对表中的数据分组计算数量
最新推荐文章于 2024-05-16 14:56:10 发布
select ip,count() from ceshi where group by ip HAVING count() > 2 order by count(*) DESC limit 10