Oracle - 可以使用 concat 进行子查询吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/4265694/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 22:01:35  来源:igfitidea点击:

Oracle - Subquery with concat possible?

sqloracle

提问by opHASnoNAME

is it possible to concat the result of an subquery with oracle?

是否可以使用oracle连接子查询的结果?

if this subquery for an view:

如果此视图的子查询:

  (SELECT s.name
        FROM
            app_shared_servers ass
        LEFT JOIN servers s
            ON (s.srv_id = ass.srv_id) WHERE ass.app_id = a.APP_ID) SHARED_SERVERS

Wich returns a list of servernames associated with some kind of system. I need them to display like "Server, Server2, Server3" inside the view.

Wich 返回与某种系统相关联的服务器名称列表。我需要它们在视图中显示为“服务器、服务器 2、服务器 3”。

Any ideas?

有任何想法吗?

采纳答案by Vincent Malgrat