MySql按天分组

SELECT COUNT(*) from tb_jj_member_record GROUP BY DATE_FORMAT(tmr_add_date,"%Y-%m-%d")

 

你可能感兴趣的:(SQL)