Last active
October 15, 2017 17:08
-
-
Save drewbanin/036a836533bf7fcdc4cdf743b1e3030a to your computer and use it in GitHub Desktop.
This file contains 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 | |
id, | |
user_id, | |
price, | |
null::timestamp as returned_at -- this column doesn't exist! | |
from ecom_us.orders | |
union all | |
select | |
id, | |
user_id, | |
price, | |
returned_at | |
from ecom_uk.orders |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment