Skip to main content
All Problems
easy0% acceptance

Unique Customer Cities

The business development team wants to know which cities the customer base spans. List all distinct cities from the customers table, sorted alphabetically.

Schema

🔑idINT
first_nameTEXT
last_nameTEXT
emailTEXT
phoneTEXTNULL
cityTEXT
stateTEXT
countryTEXT
created_atTIMESTAMP
postgresql

Run your query to see results

Press Ctrl + Enter to execute