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!

Flight Instance table

user545194Dec 31 2006 — edited Jan 1 2007
I am developing a Web-based GUI for a flight reservation system. The following select statement is used to find the selected flights on a given date:
------------------------------------------------------------------------------------------------------
select distinct flight_no, origin, dept_time, destination, arri_time, flight_date
from flight_instance
where orig = 'AMS and destination = 'LHR'
and flight_date = '28-DEC-06'
order by dept_time;
------------------------------------------------------------------------------------------------------
Basically straightfoward, however, I need to display the outbound and return flight. How would the statement look like in this case?

Thank you!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 29 2007
Added on Dec 31 2006
3 comments
695 views