select * from 表 where activesysncname = '1店' and month(birthday) = 3;select count(1) from 表 group by id