Is there a SQL statement or a Stored Procedure that what return the following:
I have a table
And I want the results to be
Is this possible?
Thanks
Jason
I have a table
Code:
num text text2
----------------------
1 a1 b1
5 a1 b2
8 a1 b3
2 a2 b1
4 a2 b2
And I want the results to be
Code:
name b1 b2 b3
--------------------------
a1 1 5 8
a2 2 4 0
Is this possible?
Thanks
Jason