1 | 10 | 30
2 | 99 | 72
3 | 60 | 84
4 | 70 | 66
5 | 80 | 37
6 | 30 | 10
select tbl1.*
from tbl tbl1
join tbl tbl2 on tbl1.num1 = tbl2.num2 and tbl1.num2 = tbl2.num1
where tbl2.id < tbl1.id
;
+====+======+======+
| id | num1 | num2 |
+====+======+======+
| 6 | 30 | 10 |
+----+------+------+