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
What is sqlcontext?
Does pl sql work in mysql?
What is sql comments?
What is scalar data type in pl sql?
What is full join in sql?
How do you explain an index?
Can I learn sql in a week?
tell me about various levels of constraint. : Sql dba
how to create a new view in mysql? : Sql dba
What is execution plan in sql?
What is difference between mysql and postgresql?
What are all the common sql functions?
Does user triggers have entry for trigger with compilation errors?
How can we debug in PL/SQL?
What is a stored procedure in sql with example?