I have table
PartNo| Revision Status
501. 1. Current
501. 2. Internal
502. 1. Internal
502. 2. Trail
Want to retrieve from
1. PartNo 501 having status is current
2. Part 502 having status is Trail
Based on status preference I need to fetch part no based on status sequence
1. Current
2. Trail
. In Oracle SQL.