I want to create a query in ORACLE- SQL Developer that returns tables specified in the query and their count/ number of rows in real time.
Ideally the output would look like;
| Schema.Table | Count |
| abc.123 | 1000 |
| def.345 | 1223 | etc.
So far I have a very basic query that uses dba_tables;
SELECT OWNER ||'.'|| table_name as "Schema.Tablename",
num_rows as "Number of Rows"
FROM dba_tables
WHERE
table_name = '123' and OWNER = 'abc'
or table_name = '345' and OWNER = 'def'
However, I want to be able to have the query count in real time so I don't want to usee dba_tables or num_rows.
Does anybody have any tips or advice for this task?