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
Does pl sql work in mysql?
What does the base_object_type column shows in the user.triggers data dictionary view?
What is rank function in sql?
Explain the difference between triggers and constraints?
What is the difference between stored procedure and view?
Why do we need databases?
What is meant by <> in sql?
What is vector point function?
Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com
What is application trigger?
Why query optimization is needed?
How do you declare a variable in pl sql?
Is sql microsoft?
What is compilation error in pl sql?
Why are cursors used?