find out the second highest salary?
Answer Posted / shalini
SELECT ID,NAME,SAL,ROWNUM
FROM EMP
ORDER BY ID DESC
WHERE ROWNUM=2
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How to sort the query output in oracle?
What are the attributes that are found in a cursor?
Explain about integrity constraint?
Where are the settings stored for each instance in oracle?
What are the database administrators utilities available?
What is a nvl function? How can it be used?
Whether any commands are used for months calculation? If so, what are they?
What are operators in oracle?
What is the maximum limit on the number of columns in a table?
Give the constructs of a package, function or a procedure.
what is reindexing?
21. Using a set operator, display the client number of all clients who have ever placed an order and whose whose name does not contain the string Sm.
Is oracle a language?
How to drop a stored function?
Explain self joins in oracle?