王者荣耀日炎斗篷没用:oracle中怎样写SQL,将某一列的所有记录连接成一个字符串?

来源:百度文库 编辑:高考问答 时间:2024/05/11 18:18:17
我现在需要写一个SQL,其中有一个临时表,也就是
select table1.a,table2.b,talbe1.c,……,temptable.name from table1,table2,(select ……) temptable where ……;

其中temptable.name 需要是 select table3.name from table3 where …… 执行结果的所有记录连接成的字符串。

这个需要怎么写呢?
谢谢!

天哪,现在难题太多了