How to count the number of duplicate items in a table?
Answer Posted / pavan
Hi,
try this query.In this query sal one val is duplicated
4items
select sal,count(sal) from test group by sal having count
(*)>1
| Is This Answer Correct ? | 4 Yes | 4 No |
Post New Answer View All Answers
Explain about link server in sql server?
What are the new features are introduced in sql server 2012 reporting services?
Explain why variables called the most powerful component of ssis?
Name and describe few console utilities for ssrs?
What is the difference between value type and reference type?
Data is not being delivered to subscribers, what can be the possible reasons? : sql server replication
What is the difference between a function and a trigger?
Can you force a query to use a specific index?
What are the different types of cursor?
How many instances per computer are there in sql server 2000?
Does view occupy space?
Do you have any idea about the tcl commands?
Find first and last day of current month in sql server
What is the recursive stored procedure in sql server?
What do you think of this implementation? Can this be implemented better?