CREATE TABLE person (name TEXT, age DECIMAL, city TEXT, gender TEXT, job TEXT)
CREATE TABLE personfriend (name TEXT, friend TEXT, year DECIMAL)

How many different cities are they from?
SELECT COUNT(DISTINCT city) FROM person
SELECT COUNT(DISTINCT "city") FROM "person"