Task: Text to Code
Input (English): SQL: SELECT DISTINCT city FROM Addresses
Feedback: only consider the addresses used in people addresses
Output (English): SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id