Skip to content

Instantly share code, notes, and snippets.

@asterion
Created February 12, 2015 15:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asterion/7270a958378cecc6dc98 to your computer and use it in GitHub Desktop.
Save asterion/7270a958378cecc6dc98 to your computer and use it in GitHub Desktop.
SQL JOIN
SELECT foo.* FROM foo, bar WHERE foo.id = bar.foo_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment