You are viewing a single comment's thread. Return to all comments →
select a.x, a.y from functions A join functions B on a.x = b.y and b.x = a.y group by a.x, a.y having count(a.x)>1 or a.x < a.y order by a.x;
Seems like cookies are disabled on this browser, please enable them to open this website
Symmetric Pairs
You are viewing a single comment's thread. Return to all comments →
select a.x, a.y from functions A join functions B on a.x = b.y and b.x = a.y group by a.x, a.y
having count(a.x)>1 or a.x < a.y order by a.x;