[프로그래머스] 입양 시각 구하기(1) SELECT hour(DATETIME) as 'HOUR', count(DATETIME) as 'COUNT' FROM ANIMAL_OUTS GROUP BY hour(DATETIME) HAVING HOUR >= 9 and HOUR = 9 and hour(DATETIME) < 20 GROUP BY hour(DATETIME) ORDER BY hour(DATETIME); HAVING을 쓰지 않고 where절로.. Language/SQL 2022.07.04