+ 2

Custom Names SQL Practice!

Let's help the pilots find out details about their flights. You are given the following tables named pilots and flights. Write a query to output the flight ID, full name of the pilot who is responsible for the flight, the country where the flight will land, and the duration of the flight (flight_id, fullname, landing_country, duration). Answer?

30th Jul 2021, 11:03 AM
Aziz Ergashev
Aziz Ergashev - avatar
2 Answers
+ 5
And your question is ❓
30th Jul 2021, 12:14 PM
Simba
Simba - avatar
+ 1
Answer: SELECT flight_id, fullname, landing_country, duration FROM pilots, flights WHERE flights.id=pilots.flight_id ORDER BY flight_id; It will take.
30th Jul 2021, 12:27 PM
Aziz Ergashev
Aziz Ergashev - avatar