how to find the second highest salary from emp table?
Answer Posted / amarendra swain
select max(sal) from employee
where sal not in (select max(sal) from employee )
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you have a foreign key without a primary key?
How do you declare a user-defined exception?
What is clustered index in sql?
What is the use of sql trace?
Can you have more than one trigger on a table?
Which one is better subquery or joins?
What is a database trigger?
Explain spool.
How do I find duplicates in a single column in sql?
what are rollup and cube in t-sql? : Transact sql
What is denormalization in a database?
What is keys and its types?
how to fetch common records from two tables? : Sql dba
Can you load data into multiple tables at once? : aql loader
What are all the different types of indexes?