libreoffice 文本聚合器
是否可以从libreoffice基础中的汇总函数中串联文本。例如:
Column1 | Column2 | 列3 |
---|---|---|
1 | Hello | 23 |
2 | World | 27 |
函数将返回“ Hello,World”
Is it possible to concatenate text from an aggregate function in LibreOffice Base. For example:
column1 | Column2 | Column3 |
---|---|---|
1 | Hello | 23 |
2 | World | 27 |
The function would then return "Hello, world"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你没有说你正在使用哪个数据库。
请查看左下角的状态栏。如果您看到类似的内容,则说明正在使用内置的 Firebird 数据库。
在这种情况下,您可以使用 LIST() 聚合函数。类似于
SELECT LIST("Column2") AS string_agg FROM "MyTable"
如果您创建了 HSQLDB 数据库,则可以尝试驯服 GROUP_CONCAT() 函数
如果您如果使用不同的数据库,请检查该特定数据库的文档 - 每种 SQL 方言中都有类似的函数,但语法不同。
You didn't say which database you are using.
Please look at the statusbar at the bottom left. If you see something like this, then the built-in Firebird database is being used.
In this case, you can use the LIST() aggregate function. Something similar to
SELECT LIST("Column2") AS string_agg FROM "MyTable"
If you have created an HSQLDB database, you can try to tame the GROUP_CONCAT() function
In case you are using a different database, check the documentation for that particular database - there are similar functions in each SQL dialect, but they differ in syntax.