Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Task 1 You are given two tables, flights and airports, with the following structure: and Each row in the table flights contains information about a
Task
You are given two tables, flights and airports, with the following structure:
and
Each row in the table flights contains information about a flight: code of
departure port startport and code of destination port endport
Each row in the table airports contains information about an airport: the
city name cityname and the port code portcode Each portcode is
assigned to at most one airport.
Write an SQL query that finds all cities through which a fight from New York
to Tokyo may pass if the passenger wants to make exaetly one change of
flights.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started