Find out the 3rd highest salary?
Answer Posted / xxx
select ename, salary from
(Select ename, salary, rownum
FROM emp where rownum<=3
Order by salary )
where rownum = 1
;
| Is This Answer Correct ? | 7 Yes | 20 No |
Post New Answer View All Answers
What are all the ddl commands?
What is input buffer in sql*plus?
How do I run a program in pl sql?
explain the advantages and disadvantages of stored procedure? : Sql dba
What is the maximum number of triggers, you can apply on a single table?
Is primary key is clustered index?
Explain what is a field in a database and record in a database?
Advantages and disadvantages of stored procedure?
What are the dml statements?
What is the need of merge statement?
Should I use mbr or gpt?
What is the usage of nvl function?
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
How does an execution block start and end in pl sql?
What is sql*loader?