本部门所有人员每天0-24小时完成的任务量、周一到周天完成的任务量,月初到月末完成的任务量,年初到年末完成的任务量
https://blog.csdn.net/u012324101/article/details/80251003 参考一下这个,很爽的SQL
union all