XPEric

Untitled

Mar 9th, 2022
5,968
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.34 KB | None | 0 0
  1. -- QUERY 4
  2. SELECT `plane`.`type`
  3.     FROM `airport`
  4.  
  5. INNER JOIN `flight`
  6.     ON `airport`.`code` = `flight`.`departure_airport_fk`
  7.  
  8. INNER JOIN `city`
  9.     ON `airport`.`city_name_fk` = `city`.`name`
  10.     AND `airport`.`city_nation_fk` = `city`.`nation`
  11.  
  12. INNER JOIN `plane`
  13.     ON `plane`.`id` = `flight`.`plane_fk`
  14.  
  15. WHERE `city`.`name` = "Denver";
Advertisement
Add Comment
Please, Sign In to add comment