1. How to fetch all the duplicate records from the table.
2. How to fetch the second highest salary from the table.
Answer Posted / oracle.hemant
select max(salary) from emp where salary<(select max(salary)
from emp)
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What do you understand by the denormalisation?
What happens when transaction log is full?
New concepts of sql server 2005 use in your project.
How to insert multiple rows with a subquery?
What does it mean to normalize data?
Define self join?
What are the different types of collation sensitivity in sql server?
When setting replication, is it possible to have a publisher as 64 bit sql server and distributor or subscribers as a 32 bit sql server?
What is sub-query in sql server? Explain its properties.
What is dbcc command in sql server?
What the different topologies in which replication can be configured?
What are different type of Collation Sensitivity?
What are the different types of locks in the database?
How to transfer a table from one schema to another?
How many types of objects are there?