mysql查询所有的数量名称

SELECT COUNT(*)
FROM information_schema.tables 
WHERE table_schema='pinyougoudb'

select table_name 

from information_schema.tables 

where table_schema='当前数据库'

猜你喜欢

转载自blog.csdn.net/qq_34627002/article/details/81076059