select  max(val0) as max , FROM_UNIXTIME(add_time,'%Y%m%d%H%i%s') as date  from yr_monitoringdb where add_time > 1431019403 group by FROM_UNIXTIME(add_time,'%Y%m%d')