level 2
select 'select ' || wm_concat(column_name) || chr(10) || 'from table_name'
from user_tab_columns
where table_name = 'TABLENAME'
and column_name<>'COLUMN_NAME';
select 'select ' || wm_concat(column_name) || chr(10) || 'from table_name'
from user_tab_columns
where table_name = 'TABLENAME'
and data_type<>'COLUMN_TYPE';
2019年07月09日 06点07分