这样的SQL语句怎么写.... 在线等待...
表table如下:
No. columnName oldValue newValue
1 aa 123 124
1 bb test testing
1 cc auto hand
1 dd 12*34 13*34
2 bb testing tests
2 aa 124 987
3 cc hand auto-hand
3 ee new new-12
4 dd 13*34 55*66
4 ff 0123 0129
要得到的查询结果如下:
No. aa bb cc dd ee ff
0 123 test auto 12*34 new 0123
1 124 testing hand 13*34
2 987 tests
3 auto-hand new-12
4 55*66 0129
大家帮我看看,thanks.