SELECT Name1, Name2, Value FROM mytable
gives me the following result set:
Name1 Name2 Value
A P1 1
A P2 1
A P3 2
B P1 3
B P2 1
B P4 1
How do I translate that to:
A B
P1 1 4
P2 1 1
P3 2 null
P4 null 1
Thanks,
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…