how to find the second highest salary from emp table?
Answer Posted / rajiv singh
select max(department_id) from departments where
department_id <(select max(department_id) from departments);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does inner join remove duplicates?
Can a foreign key be null?
How can we solve sql error: ora-00904: invalid identifier?
How do you take the union of two tables in sql?
What are predefined functions in sql?
Do stored procedures prevent sql injection?
What is the size of partition table?
Can a select statement fire a trigger?
What are types of exception?
which tcp/ip port does sql server run on? : Sql dba
What are the 3 types of behavioral triggers?
What is pl/sql table? Why is it used?
What are schema-level triggers?
How many types of keys are there in sql?
Does sql backup shrink transaction log?