sql – 在Access中连接记录和GROUP BY
发布时间:2020-12-12 07:07:24 所属栏目:MsSql教程 来源:网络整理
导读:我有这样一张桌子: title part descBlah This 1 This begins theBlah This 2 example table.Some Record 1 HelloAnother 1 This text extends a bitAnother 2 further so it is inAnother 3 another record in theAnother 4 table 在Access中,我希望构建一个
我有这样一张桌子:
title part desc Blah This 1 This begins the Blah This 2 example table. Some Record 1 Hello Another 1 This text extends a bit Another 2 further so it is in Another 3 another record in the Another 4 table 在Access中,我希望构建一个查询/ SQL到GROUP BY标题并连接desc字段,所以它看起来像这样: title desc Blah This This begins the example table. Some Record Hello Another This text extends a bit further so it is in another record in the table 如何只用SQL(没有VBA /脚本)来完成? FOR XML PATH似乎在Access中不起作用,只在SQL Server中起作用.我在How to improve efficiency of this query & VBA?尝试了VBA,但它太慢了. 或者是否有一个可以使用的函数在查询已经打开时不会连续运行? 解决方法Access中没有Group_Concat:/.可能没有排除VBA的解决方案.这是一个可能的: Concatenating Rows through a query (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |