Created
October 11, 2019 20:56
-
-
Save gsampath127/b69c0265db09676b55883302bb6cf148 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT t.id fromid,t.Team fromteam,t1.id toid,t1.Team toteam | |
INTO #matches | |
FROM #Team t | |
INNER JOIN #Team t1 ON t.id <> t1.id | |
SELECT * FROM #matches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment