Skip to content

Instantly share code, notes, and snippets.

@BRMatt
Created October 27, 2014 17:36
Show Gist options
  • Save BRMatt/8032846a8d06e667fa0a to your computer and use it in GitHub Desktop.
Save BRMatt/8032846a8d06e667fa0a to your computer and use it in GitHub Desktop.
SELECT "posts".*, "authors".*
FROM "posts"
LEFT JOIN "authors" ON ("posts"."author_id" = "authors"."author_id");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment