Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

identifying duplicate records from a subquery

user9518444Apr 14 2009 — edited May 11 2010
I have a table MV_AIRPORT...I have a created the following subquery to get the most updated recorded from this table...but I still want to know if there are any duplicates.
Select * from MV_AIRPORT_ALL t
where t.AUDIT_UPDT_DATETIME= (Select max(AUDIT_UPDT_DATETIME) from MV_AIRPORT_ALL where
AIR_CNTL_NUMBER=t.AIR_CNTL_NUMBER and AIR_REVISION_NUMBER= t.AIR_REVISION_NUMBER)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2010
Added on Apr 14 2009
9 comments
2,043 views