Skip to content

Instantly share code, notes, and snippets.

@tinney
Created March 25, 2011 13:55
Show Gist options
  • Save tinney/886860 to your computer and use it in GitHub Desktop.
Save tinney/886860 to your computer and use it in GitHub Desktop.
SELECT *
FROM t1
WHERE t1.a IN (SELECT t2.b FROM t2 where t2.c = 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment