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 is difference between after and before?
Create and insert into temp table in sql server?
Explain forward - only cursors?
What is 2nf normalization?
What is cached report?
What is the difference between ROW_NUMBER and Ranking function in SQL SERVER?
What is auditing in sql server?
How many joins in sql server?
What is a not null constraint?
How to convert a table data in XML format in sql server?
What are the rendering extensions of ssrs?
Tell me the phases a transaction has to undergo?
What is the use of partition by in sql server?
What are blobs, tables, and Queues? Is SQL is the standard way to query blobs, tables, and queues?
How sql server enhances scalability of the database system?