How to count the number of duplicate items in a table?
Answer Posted / mr.abdul rahim
select count(column), column from table group by column
having count(column) > 1
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is difference between rownum and row_number?
What is an inner join?
What is the difference in accessing db between sql server vs sql azure?
What is an indexing strategy?
Other than truncate statement, which other command can by-pass the trigger on the tables?
How to find a value in another dataset based on current dataset field (ssrs 2008 r2)?
How to create an multi-statement table-valued function?
How to provide default values to stored procedure parameters?
Do you know what are the reporting services components?
What are the kinds of subquery?
Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?
How to provide values to user defined function parameters?
Will sql server 2005 allow you to reduce the size of a column?
Explain what is use of dbcc commands?
How many types of keys are there?