How to count the number of duplicate items in a table?
Answer Posted / lalit goyal
select count(*) from (select boss_ID,COUNT(boss_ID) as s from dbo.Employee group by boss_ID ) a where s>1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Should you normalize audio?
How do you delete duplicate records in sql server?
Some queries related to SQL
What were the latest updates to SQL Azure service?
How to list all schemas in a database?
What is partition index in sql server?
what is a join? : Sql server database administration
Can I delete event logs?
How to find the login name linked to a given user name?
What is always encrypted?
What is the importance of three tier architecture?
What happens if you delete a table that is used by a view?
How do you send email on SQL Server?
What are the steps you must follow to hide sql server instances?
What is a transact-sql statement batch in ms sql server?