0

Any SQL query to get the number of tables in a database?

10th Jan 2020, 7:53 PM
Femi SONI Y
Femi SONI Y - avatar
2 ответов
+ 10
Femi SONI Y The sql query to find number of table present in database is written like this way SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'dbName'; Where:- Count - MySQL function which return count of any element. * -> is stand for all Information schema-> provide information about DB
10th Jan 2020, 8:30 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 1
Thanks I will try it.
10th Jan 2020, 10:42 PM
Femi SONI Y
Femi SONI Y - avatar