I am trying to aggregate my data to account for the different number of courses a teacher has in their schedule.
Basically my data looks like this:
Id | Subject
123| algebra
123| geometry
123| algebra II
456| calc
456| calc
789| geometry
789| geometry
789| calc
and I need it to look like this:
Id | Subject count
123| 3
456| 1
789| 2
I have no idea where to start because I don't want it to simply count the number of courses they teach, I want the DIFFERENT courses. Please help!