Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answer Posted / yogesh sharma
SELECT ENAME,SALARY FROM (SELECT ENAME,SAL FROM EMP ORDER BY SALARY DESC ) WHERE ROWNUM<6;
Is This Answer Correct ? | 77 Yes | 13 No |
Post New Answer View All Answers
What is the purpose of a sql?
What are stuff and replace function?
How many types of functions are there in sql?
What is relationship? How many types of relationship are there?
Is inner join faster than left join?
How is data stored in sql?
What is the difference between an inner join and an outer join?
Explain table and field in sql?
What is a nested table in word?
How many joins in sql?
Is it possible to create the following trigger: before or after update trigger for each row?
GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?
Which sql statement is used to delete data from a database?
explain the difference between delete , truncate and drop commands? : Sql dba
Explain the uses of database trigger.