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
If a user does not have permission to a table, but has permission to a view created on it, will he be able to view the data in table?
Can you please explain the difference between function and stored procedure?
How to display a past time in days, hours and minutes?
What are the disadvantages of using the stored procedures?
What are the joins in sql server? : sql server database administration
What are the aggregate and scalar functions?
What is the difference between TRUNCATE and DROP?
What are a scheduled jobs or what is a scheduled tasks?
What are the advantages of stored procedure in sql server?
How extra digits are handled with numeric data type literals?
What are the kinds of subquery?
What do you understand by mirroring and mention the advantages of the mirroring?
after migrating the dts packg to ssis by using migrtn wizrd in 2005. iam not able to open ssis pack and getting error. what r those errors? how to resolve?
Define magic tables in sql server?
Can we perform backup restore operation on tempdb? : sql server database administration