我有一张这样的桌子:
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 中,我希望为 GROUP BY 构建一个查询/SQLtitle
并连接该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。我在这里尝试过 VBA如何提高此查询和 VBA 的效率?,但它实在是太慢了。
或者是否有一个可以使用的函数在查询已经打开时不会持续运行?