Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / vishnu
select level,max(sal) from emp
where level<=5
group by level
connect by prior sal>sal
order by level Asc;
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Can you have more than one trigger on a table?
Can one improve the performance of sql*loader? : aql loader
What does the file extension accdb stand for?
What is date functions?
Why is nosql good?
Can we create table in function?
Does postgresql run on the cloud?
How do I run a program in pl sql?
What is user defined functions?
How to test for null values?
What is difference between pls_integer and integer?
What are pl sql procedures?
Does inner join remove duplicates?
Why do we go for stored procedures?
what is online transaction processing (oltp)? : Sql dba