At the end of the year, students made a diagram for each record in their database.
(students; made; a diagram for each record in their database; T:At the end of the year)
students
made
a diagram for each record in their database T:At the end of the year