Answers for "how to count mysql database tables"

SQL
1

count of tables in database mysql

SELECT count(*) 
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_SCHEMA = 'database_name'
Posted by: Guest on November-10-2020
1

count mysql server db tables

SELECT count(*)
   FROM INFORMATION_SCHEMA.TABLES
   WHERE TABLE_SCHEMA = 'yourDatabaseName';
Posted by: Guest on September-12-2021

Code answers related to "how to count mysql database tables"

Code answers related to "SQL"

Browse Popular Code Answers by Language