日期:2014-05-16 浏览次数:20764 次
select '('
------解决方案--------------------
ltrim(max(SYS_CONNECT_BY_PATH(''''
------解决方案--------------------
t.a1
------解决方案--------------------
'''', ',')), ',')
------解决方案--------------------
')' col
from (select a1, rownum rn from t1) t
start with t.rn = 1
connect by prior rn = rn - 1