SQL看上去不难啊,group by 就能解决啊.group by 每个人,天 sum()不就哦了