I want to summarize all attendance records of each person every day,in my current solution, i need to get all records and then use for loop, is there a better w
for