The number of fields in a table in an Oracle database

Query the total number of fields of a table in Oracle
select count(column_name) from user_tab_columns where table_name='T_B_AUDITOR'

By looking at it roughly:
select tname,count(*) from col group by tname;

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326508564&siteId=291194637