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
Which join is default?
Is left join faster than inner join?
What do you mean by query optimization?
How to avoid duplicate records in a query?
What is a record in a database?
Why do we use cursors?
Why do we need view in sql?
What is the difference between cluster and non-cluster index?
what is a field in a database ? : Sql dba
Is it possible to include an insert statement on the same table to which the trigger is assigned?
What is implicit cursor in pl sql?
What is a sql instance vs database?
What is left inner join in sql?
What are the properties of a transaction?
Does sql view stored data?