Answers for "count number of tables in my database mySQL"

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

display total number of tables in mysql

SELECT count(*) AS TOTALNUMBEROFTABLES
   -> FROM INFORMATION_SCHEMA.TABLES
   -> WHERE TABLE_SCHEMA = 'SCHEMA_HERE';
Posted by: Guest on March-09-2021

Code answers related to "count number of tables in my database mySQL"

Code answers related to "SQL"

Browse Popular Code Answers by Language