User Tools

Site Tools


kurs:rownum

This is an old revision of the document!


select first_name, last_name, salary from employees where
department_id in  
  (select i from 
     (select department_id i, count(*) from employees
      group by department_id 
      having count(*) >= 5)
   )
select rownum, rn, first_name, last_name, salary from (
select rownum rn, first_name, last_name, salary from employees )
where rn > 5
kurs/rownum.1306844327.txt.gz · Last modified: 2014/09/10 21:22 (external edit)