kindly post the underlying table structure and desired output for further analysis.
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
try this
select eid from certified
where eid = (select eid from
(select eid,count(aid) from certified
group by eid
order by count(aid) desc)
where rownum<2)
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434