Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: DUPLICATE ROWS.
select test_id, count(test_id) from test group by test_id having count > 1;
then for the individual test_id problems, look at them and figure out which one to delete by row_id.
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Seema Singh
Sent: Wednesday, June 30, 2004 6:22 PM
To: oracle-l_at_freelists.org
Subject: DUPLICATE ROWS.
Here is
select count(test_id) from test;
shows 102 rows
select count(distinct(test_id) from test; shows 100 rows
How to find those 2 rows ?
I tried to run to find by using max rowid or min rowid but unable to.if some
one have quesry can pl send to me
thx
![]() |
![]() |