how do you count the duplicate records in a table
Answer Posted / satheesh
SELECT COUNT(*)
FROM TABLE A
WHERE ROWID NOT IN (SELECT MAX(ROWID)
FROM TABLE B
WHERE A.COL1 = B.COL1);--UNIQUE COLUMN
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the use of <> sql?
Define join and name different types of joins?
What is join view in sql?
What is the maximum number of rows in sql table?
Which sorts rows in sql?
what is bcp? When is it used?
What is not equal in sql?
How to place comments in pl/sql?
Is it possible for a table to have more than one foreign key?
What is sql not null constraint?
how do you know the version of your mysql server? : Sql dba
What is the difference between null value, zero, and blank space?
What is the best sql course?
Is it possible to pass parameters to triggers?
What are three advantages to using sql?