I have been stuck in this query for long time, need your help.
Attached is the dataset of teacher_evaluation. I already have the total respondents (TTL_STUDNTS) for each section, but i want to calculate the total students who evaluated each teacher (EVLTD_STUD). Data needs to be grouped by columns highlighted in yellow.
Answer for teacher_1 who taught section B2 should be 2 students (as already written for your understanding).
------------------------------
Gulfam Ahmad
Head of Analytics
------------------------------