IT/알고리즘 문제

프로그래머스 - 입양 시각 구하기(1)

금마s 2021. 3. 29. 22:40

 

 

 

  SELECT HOUR(DATETIME) AS HOUR, COUNT(*) AS 'COUNT'
    FROM ANIMAL_OUTS
   WHERE HOUR(DATETIME) >= 9 AND HOUR(DATETIME) < 20
GROUP BY HOUR
ORDER BY HOUR

 

 

 

 

 

 

728x90