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
Explain what is the difference between union and union all?
Can we write ddl in trigger?
What is built-in function?
What is partition in sql server?
what is a self join? : Sql server database administration
What have included columns when we talk about sql server indexing?
What do you understand by recursive stored procedures?
What is normalization 1nf 2nf 3nf?
What is field in algebra?
What is a collation?
Data is not being delivered to subscribers, what can be the possible reasons? : sql server replication
what are candidate key, alternate key and composite key? : Sql server database administration
What is CTE in SQL
How do I run a trace in sql server?
Do you know hot add cpu in sql server 2008?