1. How to fetch all the duplicate records from the table.
2. How to fetch the second highest salary from the table.
Answer Posted / neelu
select max(salary) from employees where rownum<= 2
order by salary desc
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Does a server store data?
What are the benefits of normalization?
Can You Use Data Mining Models In Ssrs?
What are the disadvantages of indexes?
Is there any difference between the primary key and unique key?
Explain timestamp datatype?
How will you add a dimension to cube? : sql server analysis services, ssas
How do I start sql server 2017?
What is resource governor?
What do you mean by an execution plan?
What does REVERT do in SQL Server 2005?
Explain cross join or cartesian product in sql?
What do you understand by coalesce in sql server?
What happens when the SQL Azure database reaches Max Size?
Explain the dirty pages?