Created
August 12, 2014 18:22
-
-
Save sycobuny/d34151644dd63728880a to your computer and use it in GitHub Desktop.
Just my new style of query writing
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 | |
a.column1 AS a_col1, | |
a.column2 AS a_col2, | |
b.column1 AS b_col1, | |
b.column2 AS b_col2 | |
FROM | |
asdf a INNER JOIN | |
qwerty b ON | |
a.id = b.qwerty_id | |
WHERE | |
a.sdf = 'asdf' AND | |
b.werty = 'qwerty'; |
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 a.column1 AS a_col1, | |
a.column2 AS a_col2, | |
b.column1 AS b_col1, | |
b.column2 AS b_col2 | |
FROM asdf a INNER JOIN | |
qwerty b ON | |
a.id = b.qwerty_id | |
WHERE a.sdf = 'asdf' AND | |
b.werty = 'qwerty'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment