SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = ‘dbname‘ GROUP&nbs……
SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = ‘dbname‘ GROUP BY table_schema;
其中:dbname是数据库名称。
SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = ‘dbname‘ GROUP&nbs……
SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = ‘dbname‘ GROUP BY table_schema;
其中:dbname是数据库名称。
版权: 转载请注明出处:https://www.zuozi.net/2550.html
还没有评论呢,快来抢沙发~