日期:2014-05-17 浏览次数:20763 次
select * from (select distinct(phone_no),count(*) as num from KFWEB_OPERATELOG group by phone_no order by num) where rownum < 1000;
------解决方案--------------------
oracle里要这么写
select * from
( select distinct(phone_no),count(*) as num from KFWEB_OPERATELOG
where group by phone_no order by num )
where rownum < 1000