Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / priya
SELECT Rownum,emp-name,salary
FROM(SELECT emp_name,salary
FROM employees
ORDER BY salary Desc)
WHERE Rownum<=5;
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
Which data dictionary views have the information on the triggers that are available in the database?
Can pl sql procedure have a return statement?
what is datawarehouse? : Sql dba
What are operators available in sql?
explain normalization concept? : Sql dba
Why sql query is slow?
why does the selected column have to be in the group by clause or part of an aggregate function? : Sql dba
Can we join tables without foreign key?
Does pdo prevent sql injection?
Which one is faster ienumerable or iqueryable?
What is on delete set null?
what is isam? : Sql dba
What are the advantages of sql?
What is a primary key example?
Is sql developer case sensitive?