i have a table like this:
student | group
1 | A
2 | B
1 | B
3 | C
i want to produce the output like the following:
Student | Group_A | Group_B | Group_C
1 | Yes | Yes |
2 | | Yes |
3 | | | Yes
Do anybody have any idea how can I produce this type of report? I tried several ways using Pivot and Unpivot but it's not working here