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
Can one improve the performance of sql*loader? : aql loader
Can we create table inside stored procedure?
How do I create an index in word?
What is a pragma statement?
What is a design view?
what is sql? : Sql dba
What is pl/sql table? Why it is used?
How do I make sql search faster?
Can I call a procedure inside a function?
how mysql optimizes distinct? : Sql dba
Is delete faster than truncate?
what is the difference between char and varchar data types? : Sql dba
what is data manipulation language? : Sql dba
What is a full join sql?
What is difference between cursor and trigger?