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
What is a rank in sql?
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
What are all different types of collation sensitivity?
How do I view a sql database?
What is the difference between left and left outer join?
how can we take a backup of a mysql table and how can we restore it. ? : Sql dba
Is delete faster than truncate?
Why is the cursor important?
What is cost in sql execution plan?
Can you have more than one trigger on a table?
what is bcp? When does it used? : Sql dba
What is %type in sql?
what is uncommittable transactions? : Transact sql
Explain the update statement in sql
How can you fetch common records from two tables?