select date_format(atime,'%Y-%m-%d %H') as hour,count(*) as Count from z_alarm_false where atime >= '2019-1-25 00:00:00' and atime <= '2019-1-26 00:00:00' group by date_format(atime,'%Y-%m-%d %H');