1. How to fetch all the duplicate records from the table.
2. How to fetch the second highest salary from the table.
Answer Posted / anbarasan k kanagaraj
select salary from user order by salary desc LIMIT 1, 1
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Other than truncate statement, which other command can by-pass the trigger on the tables?
How to modify an existing user defined function?
What is dbcc command in sql server?
How to filter out duplications in the returning rows in ms sql server?
What are the restrictions while creating batches in sql server?
Write the syntax for stuff function in an sql server?
What extended events?
Can two tables share the same primary key?
What is blocking and how would you troubleshoot it? : sql server database administration
What Is Rdbms?
What are alternate keys?
List layers of abstraction microsoft architectured to provide relational db through cloud platform ?
What is de-normalization in sql database administration? Give examples?
what are the new features introduced in sql server 2000? : Sql server database administration
What are the difference between primary key and unique key? : sql server database administration