Prøv denne......
SELECT TABLE_NAME,MAX(TABLE_ROWS)
FROM information_schema.TABLES
WHERE TABLE_SCHEMA = "DB_Name";
ELLER
prøv venligst følgende to forespørgsler for det faktiske resultat.
forespørgsel 1:
SELECT CONCAT('SELECT COUNT(*) as cnt FROM ', table_name, ' union all')
FROM information_schema.tables WHERE table_schema = 'your_db_name';
forespørgsel 2:
select max(cnt) from (paste the result of first query and remove
last union all keyword) as tmptable;