ORACLE:
SELECT T.COLUMN_NAME,'A.' || T.COLUMN_NAME || ',' FROM USER_COL_COMMENTS T WHERE T.TABLE_NAME = UPPER('TABLE_NAME');