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
Explain the difference between drop and truncate commands in sql?
What will you get by the cursor attribute sql%found?
What is package in pl sql?
How does sql store data?
Why truncate is used in sql?
what does the t-sql command ident_current does? : Transact sql
How is use pl and sql?
What trigger means?
What is nvarchar max in sql?
What does the hierarchical profiler does?
How do I quit sql?
How do you explain an index?
Why is a primary key important?
Is oracle and sql same?
What are the advantages of pl sql?