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!

to get rows with max update time

hartford27Apr 6 2009 — edited Apr 6 2009
I want to select only records with max of update time. Pls correct me if it is wrong...

Select * from V_ALL_AIRPORT t

where t.audit_update_time= (Select max(update_time) from V_ALL_AIRPORT where
airid=t.airid and secondryairid= t.secondaryid)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2009
Added on Apr 6 2009
2 comments
420 views