SQL schließen Duplikate aus und finden Sie eine sogar ID

SELECT DISTINCT city FROM tablename WHERE id % 2 = 0 
Comfortable Crocodile