Skip to content

Instantly share code, notes, and snippets.

@felclef
Created Aug 15, 2011
Embed
What would you like to do?
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