Skip to content

Instantly share code, notes, and snippets.

@felclef
Created August 15, 2011 14:04
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 felclef/1146821 to your computer and use it in GitHub Desktop.
Save felclef/1146821 to your computer and use it in GitHub Desktop.
SELECT
"jobs".*
FROM
"jobs"
INNER JOIN "skill_sets"
ON "skill_sets"."source_id" = "jobs"."id"
AND "skill_sets"."source_type" = 'Job'
INNER JOIN "skills"
ON "skills"."id" = "skill_sets"."skill_id"
@felclef
Copy link
Author

felclef commented Aug 15, 2011

elland can't use aliases, cuz he is an afro descendente brasileiro...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment