Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / k.prashanth
Select
ename,sal,deptno
from emp
where sal in
(select max
(sal) from emp
where
level<=5
connect by
prior sal<sal
group by level)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many types of sql are there?
Enlist the advantages of sql.
What is sql profiler in oracle?
Is postgresql a server?
Can we perform dml on view?
How can one get sql*loader to commit only at the end of the load file? : aql loader
Can we use loop in sql?
How many developers work on postgresql?
Can %notfound return null after a fetch?
How do I partition in sql?
what is a database transaction? : Sql dba
Is left join inner or outer by default?
What do you mean by table in sql?
What is the current version of sql?
Why we use triggers in mysql?