how to find the second highest salary from emp table?
Answer Posted / tanmoy
SELECT MIN(sal) FROM (SELECT sal FROM emp ORDER BY sal DESC LIMIT 2) AS a ;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is sql performance tuning?
Why is theta join required?
what are enums used for in mysql? : Sql dba
How can you select unique records from a table?
What is the function that is used to transfer a pl/sql table log to a database table?
Is sql better than excel?
Is primary key clustered or nonclustered?
what is a primary key? : Sql dba
How do I run a sql script?
What is synchronized subquery?
What is pl sql code?
What is substitution variable in pl sql?
Can we create table in function?
Are pl sql variables case sensitive?
What are inbuilt functions in sql?