hi
what is the query to fetch duplicate records in oracle table.
ganges
0
Newbie Poster
Recommended Answers
Jump to PostI think it's the same with SQL:
select field1 ,count(*) from table group by field1 having count(*) > 1
or
select * from table where field1 in (select field1 from table group by field1 having count(*) > 1 )
Jump to PostWhat exactly you mean by duplicate records.
Duplicate based on what ?
All 5 Replies
adam_k
239
Master Poster
debasisdas
580
Posting Genius
Featured Poster
rameshbushi
0
Newbie Poster
SQLpower
0
Light Poster
adam_k
239
Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.