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