Created
May 8, 2015 14:05
-
-
Save geobabbler/461bb9375afa2e24ddc6 to your computer and use it in GitHub Desktop.
Simple join example for blog post
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 | |
us_states_squares.shape, | |
us_states_squares.abbr, | |
us_states_squares.name, | |
vw_statistics_ytd.ytd | |
FROM | |
public.us_states_squares | |
INNER JOIN public.vw_statistics_ytd ON | |
us_states_squares.abbr = vw_statistics_ytd.state_abbr | |
WHERE | |
vw_statistics_ytd.year = 2015; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment