0
这是表结构我可以使用数据透视吗?
id empRef_ID mkt_route_ID sl_No
----------------------------------------------------
1 8 6 1
2 8 8 1
3 8 20 2
4 8 22 2
5 8 23 2
和我想出来把这样
empRef_ID mkt_route_ID sl_No
----------------------------------------------------
8 6/8 1
8 20/22/23 2
不,这不是PIVOT而是为[SQL服务器相当于MySQL的GROUP_CONCAT的工作](http://stackoverflow.com/questions/451415/simulating-group-concat-mysql-function-in-ms-sql-server-2005“模拟MS SQL Server 2005中的group_concat MySQL函数?”)。 – 2012-07-06 12:04:05