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
Explain what is sql*plus?
what are the differences between char and nchar? : Sql dba
Explain how exception handling is done in advance pl/sql?
What is Difference Between Unique and Primary Key Constraints?
What is self-join and what is the requirement of self-join?
What are schema-level triggers?
Can instead of triggers be used to fire once for each statement on a view?
What is sqlcommand?
how would concatenate strings in mysql? : Sql dba
What is trigger and types?
What are the usages of sql?
How do I partition in sql?
What does rownum mean in sql?
Determine if oracle date is on a weekend?
Is sql a dbms?