[Programmers][SQL] 입양 시각 구하기(1) (59412번) - MySQL Solution
문제
- https://programmers.co.kr/learn/courses/30/lessons/59412
Solution
SELECT HOUR(DATETIME) AS HOUR, COUNT(DATETIME) AS COUNT FROM ANIMAL_OUTS GROUP BY HOUR(DATETIME) HAVING HOUR >= 9 and HOUR <= 19 ORDER BY HOUR
Leave a comment