Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / seetharam
select * from(select * from emp order by sal desc) where
rownum<=5;
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What are sql triggers used for?
what are all types of user defined functions? : Sql dba
Can there be more than one function with a similar name in a pl/sql block?
Is sql harder than python?
Does sql full backup truncate logs?
Does truncate table reset auto increment?
what are numeric data types? : Sql dba
How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?
what is recursive stored procedure? : Sql dba
Which table is left in join?
What do you mean by stored procedures? How do we use it?
What is the difference between a procedure and a function?
What is the difference between function, procedure and package in pl/sql?
explain the difference between bool, tinyint and bit. : Sql dba
What is pivot table in sql?