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
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?
How to save query output to a local file?
what is dynamic SGA and static SGA
Explain the use of rows option in exp command.
How will you differentiate between varchar & varchar2?
Explain the dml?
How to write numeric literals in oracle?
What is recycle bin in Oracle?
What are the limitations of check constraint?
What is the dynamic sql in oracle?
What are internal user account in oracle?
while i take backup using ibm tsm the following errors occurred: rman-03009 ora-19513 ora-27206 ora-19502 ora-27030 ora-ora19511
What are the differences between interval year to month and interval day to second?
Is postgres faster than oracle?
How to run create database statement?