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
How to get unique records from a table?
Which sql statement is used to delete data from a database?
How is debugging done?
Is it possible to pass parameters to triggers?
How do I delete a trigger?
What are primary key and foreign key and how they work?
What does := mean in pl sql?
What are the advantages of stored procedure?
How can I delete duplicate rows?
What are expressions?
Do prepared statements prevent sql injection?
Is sql better than excel?
Do foreign keys improve performance?
how to shut down the server with 'mysqladmin'? : Sql dba
how to convert dates to character strings? : Sql dba