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 string join?
What is replication id?
How to convert comma separated string to array in pl/sql?
What is clustered index sql?
What is vector point function?
What is the requirement of self-join?
How many types of cursors are available in pl/sql?
Is it possible to sort a column using a column alias?
What is an intersect?
What are all the different normalizations?
Do we need commit after truncate?
Can we create a trigger on view?
Which one is better sql or oracle?
what are rollup and cube in t-sql? : Transact sql
What is sql query optimization?