Chapter 1 · SELECT Basics
02. Unique Customer Cities
Easy10 XPE-Commerce
The business development team wants to know which cities the customer base spans. List all distinct cities from the customers table, sorted alphabetically.
Tables
- PKidINT
- first_nameTEXT
- last_nameTEXT
- emailTEXT
- phoneTEXT
- cityTEXT
- stateTEXT
- countryTEXT
- created_atTIMESTAMP
Need help?
Ask Sol
AI tutor — looks at your current query and nudges you, without spoiling the answer.
Solution
Try the hints first — solving it yourself is what makes it stick.