0

My data looks like

 Name, City, Zip
Bob, ATown, 00000
Bill, ATown, 00000
Ant, ATown, 00000
Jill, BTown, 00000

I want to run a query so I can get the results that look like

Zip, City
00000, ATown
00001, BTown
00002, CTown

The zip is not listed more than once

software is fun
  • 7,286
  • 18
  • 71
  • 129
  • http://stackoverflow.com/questions/5788586/how-to-use-distinct-in-ms-access Please have alook at this article and tell me if it will help you? – mfredy Sep 30 '16 at 15:24
  • your sample data has same zip value for all rows!? – Krish Sep 30 '16 at 15:38
  • No, Thats just a sample of what his data looks. I guess he has Many Names who live at the same zipcode and he just wants one of each zip code. @krishKM – mfredy Sep 30 '16 at 15:42

1 Answers1

1
SELECT DISTINCT CITY, ZIP

Would this not work?

mfredy
  • 597
  • 1
  • 8
  • 16