how to find the second highest salary from emp table?
Answer Posted / jigar r gor
Select sal from emp where sal < (select max(sal)from emp)
and rownum < 2 order by sal desc
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the types of variables use in pl sql?
What are the parameter modes supported by pl/sql?
Explain the difference between triggers and constraints?
Explain polymorphism in pl/sql.
What are the rules to be applied to nulls whilst doing comparisons?
How many postgresql users are there, worldwide?
How can we connect an Android App to an Oracle database and use the PL/SQL procedural code?
How do you pronounce sql?
What is having clause in sql?
How to order siblings in oracle hierarchy queries?
what is 'mysqldump'? : Sql dba
What is sqlca in db2?
What are the types of join in sql?
How does one load ebcdic data? : aql loader
What is cost in sql execution plan?