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 is difference between hql and native sql?
what are all the different types of indexes? : Sql dba
What is sql constant?
What are the different schemas objects that can be created using pl/sql?
what is bcp? When is it used?
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
What is a primary key? Explain
Why sql query is slow?
What is mutating table error?
What is update query?
What do you think about pl/sql?
How many types of keys are there in sql?
How to change the order of columns in Oracle SQL Plus ?
How to move files from one directory to another in pl sql?
What is pl sql script?