mysql怎么查詢數據庫有多少表
mysql怎么查詢數據庫有多少表
mysql中查詢一個數據庫中有多少表的方法:
mysql中直接使用下面的命令即可查詢:
select count(*) tables, table_schema from information_schema.tables where table_schema = '庫名' group by table_schema;
在information_schema下打開查詢,輸入語句:
select count(*) tables, table_schema from information_schema.tables where table_schema = 'test';