-- 코드를 입력하세요 SELECT HOUR(datetime) as HOUR, count(*) as COUNT from ANIMAL_OUTS group by HOUR having HOUR between 9 and 20 order by HOUR;