I have a mysql table which looks something like this:
id_one id_two
1 2
2 1
3 2
2 3
4 5
5 4
I want to delete rows with two duplicate values inrespective of which columns they are in so the example would look like this:
id_one id_two
1 2
3 2
5 4
There are over 12 million rows in total. Any ideas on how I should do this? Php or mysql query would be preferred.