I have a long query which I'll summarize like:
SELECT Name, Type, Rev
From Table
It returns something like:
Name Type Checked
Bob Grp1 Frank
Bob Grp2 Frank
Bob Grp3 Frank
Lisa Grp1 Sarah
Lisa Grp3 Sarah
Now, since I have up to 3 types, I'd like them to be their own columns and see the values in the 3rd column show up under each type:
For example:
Name Grp1 Grp2 Grp3
Bob Frank Frank Frank
Lisa Sarah NULL Sarah
Basically I'm looking for a query on how to do this. Any feedback would be appreciated.