SELECT SUM(NewIncrement),loginname ,phonenum ,weixinname FROM (select * from personnelStatistics where loginname ='cuijb' and StatistTime BETWEEN '2019-10-09' AND '2019-10-10')a GROUP BY loginname,phonenum,weixinname