表:电话
id PhID Phonedate Appointmentdate Appointmenttime Appointmenetfixed
1 22 22/05/2018 25/05/2018 12.00pm Fixed
2 42 23/08/2018 28/08/2018 11.00pm Fixed
所以我想获取基于月的数据如果不固定,则仅显示固定约会,它将显示零值