Created
October 29, 2021 08:02
-
-
Save Mr--John-Doe/377d6b49488b06f274349c7611652e91 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 a.id | |
, coalesce(someColumn, someColumn2) someColumn | |
, someOtherColumn | |
, oneOther | |
, andThenSome | |
, plusThisONe | |
FROM this_important_table as a | |
LEFT JOIN other_table as b | |
on id = _id | |
INNER JOIN some_other_table as c | |
on id = super_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment