I have a set of tables in Oracle and I would like to identify the table that contains the maximum number of rows.
So if, A has 200 rows, B has 345 rows and C has 120
This is a query to get the maximum numbers of rows there in a database table..
select table_name, num_rows from USER_TABLES where num_rows = (select max(num_rows) from (select table_name, num_rows from USER_TABLES));