Write a query to find five highest salaries from EMP table.
(there is a column SALARY)

Answer Posted / ajay dond

select salary from (select distinct salary from employees
order by salary desc)
where rownum<6

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use joins?

777


What is before and after trigger?

691


What are the limitations of sql express?

702


How do you optimize a stored procedure query?

738


What is range partitioning?

692






What is spool?

790


What is a primary key? Explain

736


Can I learn sql in a week?

753


What is data manipulation language?

880


What is the usage of nvl function?

771


What is pl sql in oracle?

786


Which is better join or inner query?

700


Explain the types of joins in sql?

737


What is mutating error?

699


What is the difference between local and global temporary table?

757