Created
May 25, 2016 18:30
-
-
Save dan81989/e75f33b8c43765dd3194cea2f4cacdca to your computer and use it in GitHub Desktop.
For a list of all records from both tables, we can use a full join:
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 first_name, last_name, order_date, order_amount | |
from customers c | |
full join orders o | |
on c.customer_id = o.customer_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"order_amount" should be "amount" as that is what the column name is set to in your example table.
This is error is present in other examples as well.