在SQL Server 2008中,我有这样的结果:TSQL,我如何分组行?
contact phone address email
Name1 435551123
Name1 street 1
Name1 [email protected]
Name2 654987624
Name2 street2
Name2 [email protected]
,我要 “压缩” 它像下面这样:
contact phone address email
Name1 435551123 street 1 [email protected]
Name2 654987624 street2 [email protected]
让我看看你的http://sqlfiddle.com/ – 2013-04-29 08:22:52
查询规范化表.. – 2013-04-29 08:22:56