I have a table looks like:
Field1 Field2 Blank Fail Pass Date
a 1 0 20 40 170101
a 2 1 19 99 170101
b 1 0 54 24 170101
c 3 1 24 30 170101
a 1 0 11 19 170102
b 2 0 21 266 170102
a 1 2 10 40 170103
....
The user then chooses the date range they want to display and I want my result to look like:
Field1 Field2 0101_B 0101_F 0101_P 0102_B 0102_F 0102_P 0103_B 0103_F 0103_P
a 1 0 20 40 0 11 19 2 10 40
a 2 1 19 99
b 1 0 54 24
c 3 1 24 30
b 2 0 21 266
Any help really appreciated!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…