I've checked everywhere for a simple solution to this and I can not find it. Say you have a database
| column A | column B |
|---|---|
| function A | function B |
| function B | function A |
| function C | function D |
| function D | function C |
| function E | function F |
| function H | function G |
I want to get rid of the combination of unique values, so I output this
| column A | column B |
|---|---|
| function A | function B |
| function C | function D |
| function E | function F |
| function H | function G |
Is there an elegant way to achieve this?