select

t1.COLUMN_NAME 字段名,

t1.DATA_TYPE 数据类型,

t2.comments 注释

from

(select t.COLUMN_NAME,t.DATA_TYPE from user_tab_columns t where t.TABLE_NAME=upper('vw_personbaseprint_data')) t1,

(select tt.column_name,tt.comments from user_col_comments tt where tt.table_name=upper('vw_personbaseprint_data')) t2

where t1.COLUMN_NAME=t2.column_name