Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / amit bharane
select empid,salary
from (select empid,salary
from emp
order by sal desc)
where rownum <=5;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can I make sql query run faster?
What is sp_helptext?
what are dynamic queries in t-sql? : Transact sql
How many triggers can be applied on a table?
How insert into statements in sql?
how many sql dml commands are supported by 'mysql'? : Sql dba
What are the 3 modes of parameter?
What is identity column in sql server?
What is cross join sql?
Difference between truncate, delete and drop commands?
Is keyword pl sql?
What is the purpose of the sql select top clause?
What are the different dml commands in sql?
What is the difference between left outer join and left join?
What is sql*loader and what is it used for?