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 is a join query?
What is the usage of the distinct keyword?
what are date and time functions in mysql? : Sql dba
What is the difference between in and between in sql?
what are the limitations of mysql in comparison of oracle? Mysql vs. Oracle. : Sql dba
What is dcl in sql?
Who is the owner of mysql database?
What is sql query optimization?
Which is faster union or join?
what is a materialized view? : Sql dba
What is the difference between python and sql?
what is blob? : Sql dba
Is natural join and inner join same?
Can procedure in package be overloaded?
Why do you partition data?