You are viewing a single comment's thread. Return to all comments →
This is my code based on MySQL
select f1.x, f1.y from functions as f1 inner join functions as f2 on f2.y = f1.x where f1.y >= f1.x and f2.x = f1.y group by f1.x, f1.y having count(*) > 1 or (count(*) = 1 and f1.y != f1.x) order by f1.x
Symmetric Pairs
You are viewing a single comment's thread. Return to all comments →
This is my code based on MySQL