find out the third highest salary?
Answer Posted / mihir nasikkar
Here n is 3
SELECT TOP 1 salary
FROM (
SELECT DISTINCT TOP n salary
FROM employee
ORDER BY salary DESC) a
ORDER BY salary
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What privilege is needed for a user to query tables in another schema?
What is a nested table?
How to best split csv strings in oracle 9i?
Explain the use of inctype option in exp command.
How to view the data files in the current database?
Are truncate and delete commands same? If so why?
What are the extensions used by oracle reports?
How to drop an existing table in oracle?
How to create a single index for multiple columns?
Explain an integrity constrains?
What are the different editions of oracle?
Select all the employees who were hired in last 2 years and who works in dept where max managers are working.
How to specify default values in insert statement using oracle?
What is the quickest way to export a table to a flat file?
What is system tablespace?