I would like to see how I can get only unique row/records that have a unique city and not care if it\'s capital so for example:
Akron
akron
aKRON
You can us a function in a GROUP BY to convert all names to upper or lowercase:
SELECT city,state_prefix,lattitude,longitude
FROM zip_code WHERE city LIKE '$queryString%'
GROUP BY UPPER(city), UPPER(state_prefix) LIMIT 10
I'm assuming if a city and state match, lattitude and longitude can be safely rolled up.