Problem 3328 · Medium

Find Cities in Each State II

SQL teaching model: group cities by state, keep only states with at least three cities, and join each state's city names in sorted order.

Open the interactive visualisation