Select max(SYS_CONNECT_BY_PATH(COLUMN_NAME, ', '))
From (select A.COLUMN_NAME,A.TABLE_NAME, ROWNUM AS ROWNO
from USER_TAB_COLUMNS A
where TABLE_NAME = ‘必须大写表名’
ORDER BY A.COLUMN_ID)
start with ROWNO = 1
connect by ROWNO = rownum;
09-10
Select max(SYS_CONNECT_BY_PATH(COLUMN_NAME, ', '))
From (select A.COLUMN_NAME,A.TABLE_NAME, ROWNUM AS ROWNO
from USER_TAB_COLUMNS A
where TABLE_NAME = ‘必须大写表名’
ORDER BY A.COLUMN_ID)
start with ROWNO = 1
connect by ROWNO = rownum;