I am working with an Oracle database that has a number of tables. I am being asked to generate a table with metadata about these tables, more precisely, I need a table with columns TABLE_NAME (where each row shows the name of a table) and NUMBER_COLUMNS (where each row shows the number of columns in that table).
I am getting the info on the table names from ALL_TABLES but I can't find a way to associate or even find the number of columns for each table. The methods that I've seen, like this one, only give me a row with the cumulative number of tables.
Please help!