I would like to know how it is possible to list all the tables and columns from my ORACLE database but by "grouping" all this information into only one table? A table with two columns: one with the name of the table and the other one with all the colums in that table. Thank you.
For instance:
TABLE_NAME COLUMNS
TABLE A => LIST OF COLUMNS
TABLE B => LIST OF COLUMNS
TABLE C => LIST OF COLUMNS
This is how I list all the tables from my ORACLE database:
SELECT TABLE_NAME FROM USER_TABLES;
This is how I list all the columns from one of the tables from my ORACLE database:
SELECT column_name
FROM user_tab_cols
WHERE table_name = 'TABLE_NAME';
user_tab_cols. you found the 2 columnstable_nameandcolumn_namealready. so what are you missing?string aggregate oracleis what you should search with your favourite tool.