how to get second highest salary in SQL(as/4000
Answer Posted / sachin
select max(salary) from emp_salary where salary<(select
max(salary) from emp_salary);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is crud a cuss word?
how to use case expression? : Sql dba
Can there be more than one function with a similar name in a pl/sql block?
How do I order by ascending in sql?
How to combine two stored procedures in sql?
What is the difference between the conventional and direct path loader? : aql loader
Do prepared statements prevent sql injection?
In pl/sql, what is bulk binding, and when/how would it help performance?
What is the difference between partitioning and sharding?
how do you control the max size of a heap table? : Sql dba
What is pls_integer in pl sql?
How many joins can you have in sql?
What is the use of sql trace?
Why we use triggers in mysql?
Can you load data into multiple tables at once? : aql loader