I have a data set with duplicate city names. I wish to get all the records and if the city is duplicated, then just get the first one:
1 London Fred
2 Paris Sally
3 London Marce
I want this returned:
1 London Fred
2 Paris Sally
I’m using SQLite, but that shouldn’t matter too much.
1 Answer