Codington
0 of 8 problems solved • 0%

Exercise prompt

List Each City Once

SELECT DISTINCT keeps one copy of each different result row. Look at how many rows remain.

Example

SELECT DISTINCT name FROM users;

Your task

Return one city column listing each represented city once.

Opening the database…