We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d02e15 commit 9d56fcaCopy full SHA for 9d56fca
Medium/Symmetric Pairs.sql
@@ -0,0 +1,7 @@
1
+SELECT distinct f1.x, f1.Y
2
+FROM functions f1
3
+INNER JOIN functions f2 ON (f1.x = f2.y and f2.x = f1.y)
4
+where f1.x<=f1.y
5
+Group by f1.x, f1.y
6
+Having COUNT(f1.X)>1 or f1.X<f1.Y
7
+ORDER BY f1.X
0 commit comments