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 global cursor can be declare with dynamic trigger ?
What is meant by truncate in sql?
How can get second highest salary in sql?
what is rdbms? : Sql dba
Does db2 use sql?
Is t sql a programming language?
What is bitemporal narrowing?
Differentiate between syntax and runtime errors.
What does stand for in sql?
List different type of expressions with the example.
Is left join and outer join same?
What is a relationship and what are they?
What is difference between group by and partition by?
What is the usage of distinct keyword?
Explain the advantages and disadvantages of stored procedure?