Indeed it worked !!!! I changed it a bit, but ur idea really clicked.
SELECT A.Prov_ID, P.Name, A.Flight_ID, F.Name, T.Name
FROM Provider P, Flight_Detail A, Airport_Detail F, Airport_Detail T
WHERE A.Prov_ID = P.Prov_ID
AND A.From_Airport_ID = F.Airport_ID
AND A.To_Airport_ID = T.Airport_ID...
Hi,
I need a little help regarding a simple SQL query problem.
I have a table (Airport_Detail), which has information abt the airports:
Airport_ID:
Name:
Code:
etc..
Now I have another table Flight_Detail, which has the following fields:
Flight_ID:
From_Airport_ID: (FK from Airport_Detail...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.