1 mysql查询数据库含有的表数量
SELECT
COUNT(TABLE_NAME)
FROM
information_schema.TABLES
WHERE TABLE_SCHEMA = 'itm_test' ;//item_test为数据库
1 mysql查询数据库含有的表数量
SELECT
COUNT(TABLE_NAME)
FROM
information_schema.TABLES
WHERE TABLE_SCHEMA = 'itm_test' ;//item_test为数据库