-
-
Save Sandy4321/154c2df33524f0861120478f556ea6fa 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 m.* FROM #matches m | |
INNER JOIN #matches m1 ON m.fromid = m1.toid AND m.toid = m1.fromid AND m1.fromid <=m1.toid | |
ORDER BY m.toteam |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment