I am having a problem I haven’t been able to solve.
I have a table with the following columns:
Personid, type.
There can be several rows for each personid
My desired outcome would be an aggregation of how many rows of type 5,12,71 each person has.
So the table will look like this:
Personid type 5 type 12 type 71
11 0 2 7
15 1 6 0
1 Answer