我有一个t
包含值的表
+------+------+------+
| col1 | col2 | col3 |
+------+------+------+
| 1 | 2 | x |
| 1 | 3 | x |
| 1 | 4 | x |
| 2 | 1 | x |
| 2 | 3 | x |
| 2 | 4 | x |
+------+------+------+
我需要这个结果:
+------+------+------+
| col1 | col2 | col3 |
+------+------+------+
| 1 | 2 | x |
| 1 | 3 | x |
| 1 | 4 | x |
| 2 | 3 | x |
| 2 | 4 | x |
+------+------+------+
注 (1,2) 与 (2,1) 相同