select * from (select distinct val from suvam order by val)
where rownum < 6
Minus
select * from (select distinct val from suvam order by val)
where rownum < 5 ;
select * from (select distinct val from suvam order by val)
where rownum < 6
Minus
select * from (select distinct val from suvam order by val)
where rownum < 5 ;
select * from emp e where 5=(select count(*) from emp where sal>e.sal)
Comment