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
Do you know how to store and query spatial data?
What are points to remember while using the fillfactor argument?
How to skip remaining statements in a loop block using continue statements?
What is the difference between the 2 operating modes of database mirroring?
What is cursors? And what are the different types of cursor?
What is an active database?
What is the largest component inside a field?
Can we write trigger for view?
in a table is b in column k (manikanta,sivananda,muralidhar) i want result like (mnikanta,sivnanda,murlidhar) please slove it
What changes in the front end code is needed if mirroring is implemented for the high availability? : sql server database administration
What are the advantages of having an index on the sql server?
Explain the difference between HTTP and HTTPS in database?
how to control the amount of free space in your index pages? : Sql server database administration
How to enter comments in transact-sql statements?
What is catalog views?