Last active
February 13, 2016 04:05
-
-
Save jgillmanjr/1e146f19447040168ec5 to your computer and use it in GitHub Desktop.
SQL Styling example
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 | |
t.some_field, | |
t2.another_field | |
FROM | |
table t | |
INNER JOIN table2 t2 ON t.fkey = t2.pkey | |
WHERE | |
t.some_field = 'f00bar' | |
UNION SELECT | |
t3.field | |
FROM | |
table3 t3 | |
WHERE | |
t3.field = 42; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment