我有一栏:城市、x、 y
I need to select the distance between all the cities without duplications the results should look like this city1,city2,distance
but I shouldn t get city2,city1,distance ( since I already got the distance between those cities...
what is the correct SQL query for that... thanks!