33333
你可以按照天进行分组,然后取min()
假如你的时间字段为v_time
则可以如此取select DATE_FORMAT(v_time,"%y-%m-%d"), min(v_time) from table_temp1 where month='01' group by DATE_FORMAT(v_time,"%y-%m-%d")
该句实现的效果是:取出一月份每天打卡最早的时间