Created
June 11, 2021 19:53
-
-
Save bartubozkurt/35f6732ff84e6b65ee8d80077c9a7347 to your computer and use it in GitHub Desktop.
(or explicitly FULL OUTER JOIN) returns all rows from both tables - if there's no matching row in the second table, NULLs are returned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT city.name, country.name | |
| FROM city | |
| FULL JOIN country | |
| ON city.country_id = country.id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment