Skip to content

Instantly share code, notes, and snippets.

@allensb
Created May 6, 2015 03:05
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 allensb/e9d21e41c7e9e1448ea2 to your computer and use it in GitHub Desktop.
Save allensb/e9d21e41c7e9e1448ea2 to your computer and use it in GitHub Desktop.
SELECT DISTINCT Table1.*
INTO HoldUps
FROM Table1, HoldKey
WHERE Table1.col1 = HoldKey.col1
AND Table1.col2 = HoldKey.col2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment