DATETIME으로 저장된 데이터를 이용하여 시간대별로 저장된 데이터 개수를 출력하는 법
(코드 예제)
SELECT hour('name'), count(hour('name')) FROM 'Table name' Group by hour('name');