how do you count the duplicate records in a table

Answer Posted / ajmal khan

There are many way to count the duplicate row in a table
select count(column_name)-count(distinct(column_name)) from
table_name;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does pdo prevent sql injection?

520


what is a constraint? Tell me about its various levels. : Sql dba

561


What are sql functions? Describe in brief different types of sql functions?

486


What is rtm stands for?

577


what is meant by urlencode and urldocode? : Sql dba

603






The in operator may be used if you know the exact value you want to return for at least one of the columns.

554


What is a natural join sql?

511


What is rownum?

536


Explain the difference between triggers and constraints?

519


How do I create an index in word?

540


What is output spooling in sql*plus?

549


What is sql entity?

528


Does varchar need length?

516


How many types of primary keys are there?

526


What is union?

651