在Access中连接记录和GROUP BY

JBu*_*ace 7 sql ms-access concatenation

我有这样一张桌子:

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
Run Code Online (Sandbox Code Playgroud)

在Access中,我希望构建一个查询/ SQL到GROUP BY title并连接该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
Run Code Online (Sandbox Code Playgroud)

如何只用SQL(没有VBA /脚本)来完成?FOR XML PATH似乎在Access中不起作用,只有SQL Server.我在这里试过VBA 如何提高这个查询和VBA的效率?,但它太慢了.

或者是否有一个可以使用的函数在查询已经打开时不会连续运行?

www*_*www 5

Access:/中没有Group_Concat。可能没有排除VBA的解决方案。
这是一种可能:通过查询连接行