-
-
Save Sandy4321/7fb2a13c5e610d2f2d2b081f24eaf59a 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