Advertisement
peshopbs2

Untitled

Nov 30th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. SELECT
  2. c.country_code, c.country_name,
  3. m.mountain_range
  4. FROM
  5. mountains_countries AS mc
  6. INNER JOIN mountains AS m
  7. ON mc.mountain_id = m.id
  8. INNER JOIN countries AS c
  9. ON c.country_code = mc.country_code
  10. WHERE c.country_name IN ('Bulgaria', 'Russia',
  11. 'United States')
  12. ORDER BY c.country_code ASC, m.mountain_range ASC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement