how to get second highest salary in SQL(as/4000
Answer Posted / mohamed shahid
select * from (select sal,rownum rn from(select sal from emp order by sal desc)) where rn=2;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does partition by mean in sql?
what are the properties and different types of sub-queries? : Sql dba
What is the use of <> sql?
What is flag in sql?
What are the types of variables use in pl sql?
What does subquery mean in sql?
What is a database? Explain
How can one get sql*loader to commit only at the end of the load file? : aql loader
Is clustered index a primary key?
What is the process of copying data from table a to table b?
How can I speed up sql query?
Mention what pl/sql package consists of?
Is left join faster than join?
How do I truncate a word?
How does cross join work?