How to write nested for loop

HI All,

I have below table , and I looking for student1 from blue team played football
student1 from green team played football etc

Student name game Team
student1 football Blue
student2 cricket green
student3 hokey red
student4 tennis Yellow
student5 football Blue
student6 cricket green
student7 hokey red
student8 tennis Yellow

Basically for every student need to count team and games. I am unable explain clearly, please help me

Sign In or Register to comment.