Find out the 3rd highest salary?
Answer Posted / satya
Hi,
Select sal from emp e where 3>=(select count (Sal)
from emp where sal>e.sal) order by sal desc;
Regards,
Satya.k
Is This Answer Correct ? | 23 Yes | 35 No |
Post New Answer View All Answers
Can primary key be changed?
Can a trigger call a stored procedure?
What is bitemporal narrowing?
How do I truncate a sql log file?
What is out parameter used for eventhough return statement can also be used in pl/sql?
Are views faster than queries?
What is sql comments?
Is oracel sql developer written in java?
where are cookies actually stored on the hard disk? : Sql dba
What is query syntax?
What is difference between rank () row_number () and dense_rank () in sql?
Why is sql important?
Why cannot I use bind variables in ddl/scl statements in dynamic sql?
What does fetching a cursor do?
What is the difference between database trigger and stored procedure?