最佳答案
是否有可能构造SQL来连接列值 多行吗?< / p >
举例如下:
表一个
PID A B C
表B
PID SEQ Desc A 1 Have A 2 a nice A 3 day. B 1 Nice Work. C 1 Yes C 2 we can C 3 do C 4 this work!
SQL的输出应该是-
PID Desc A Have a nice day. B Nice Work. C Yes we can do this work!
所以基本上输出表的Desc列是来自表B的SEQ值的连接?
SQL有什么帮助吗?