Day 04. ์ง์์ฒด๋ณ ๋ฐ๋ฆ์ด ์ ๋ฅ์ ๊ฐ์ ์ธ๊ธฐ
https://solvesql.com/problems/count-stations/
SELECT local, COUNT(station_id) AS num_stations
FROM station
GROUP BY local
ORDER BY num_stations ASC
โSELECT ์ ์ ์ง๊ณํจ์ COUNT() ์ฌ์ฉ
โGROUP BY ์ ์ ์กฐ๊ฑด ๋ฃ๊ธฐ