Domanda di colloquio di PowerSchool Group

Solving a simple programming question and designing a database based on the information given