๋ฐ์ํ
https://school.programmers.co.kr/learn/courses/30/lessons/59412
-- ์ฝ๋๋ฅผ ์
๋ ฅํ์ธ์
SELECT hour(DATETIME) as HOUR, count(DATETIME) as COUNT
from ANIMAL_OUTS
where hour(DATETIME) >= 9 and hour(DATETIME) < 20
group by HOUR
order by HOUR
๋ฐ์ํ