how to find the second highest salary from emp table?
Answer Posted / surendra sharma
select min(sal) from table_name where sal in
(SELECT top 2 sal FROM table_name order by sal desc)
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Does group by remove duplicates?
What does sign mean sql?
Explain the steps needed to create the scheduled job?
What is interval partition?
What is schema in sql?
What is a clob in sql?
Can you selectively load only those records that you need? : aql loader
Are sql database names case sensitive?
What are the two types of periodical indexes?
What are the types of records?
What is sap sql anywhere?
what is isam? : Sql dba
What is varchar data type in sql?
What is the use of %rowtype?
How do I view tables in mysql?