how do you count the duplicate records in a table
Answer Posted / sravan
Hi here is another way to solve this
SELECT NAME, COUNT(NAME) FROM TABLE_NAME
WHERE NAME IN (SELECT NAME FROM TABLE_NAME
GROUP BY NAME
HAVING COUNT(NAME)>1)
GROUP BY NAME;
thanks
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is recursive stored procedure? : Sql dba
What is data profiling in sql?
What do you understand by pl/sql records?
how can we submit a form without a submit button? : Sql dba
How many scalar data types are supported in pl/sql?
What is the usage of when clause in trigger?
How many disk partitions should I have?
Are sql connections encrypted?
Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?
What is meant by <> in sql?
What is a temp table?
What is the difference between sum and count in sql?
What are the methods of filing?
Why do we use joins?
what are properties of a transaction? : Sql dba