Skip to content

Instantly share code, notes, and snippets.

@asilbalaban
Created July 12, 2013 22:53
Show Gist options
  • Save asilbalaban/5988457 to your computer and use it in GitHub Desktop.
Save asilbalaban/5988457 to your computer and use it in GitHub Desktop.
SELECT table1.id
FROM table.1
LEFT JOIN table2 ON table1.id = table2.tb1Id
WHERE table2.id IS NULL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment