mysql查詢數據庫表的數據行數

查看mysql某個數據庫下全部表的數據總條數 use information_schema; select sum(TABLE_ROWS) from tables where TABLE_SCHEMA = 'db_name'; 查詢出來的是每張表的行數 select table_name,table_rows from tables where TABLE_SCHEMA = '數據庫名' orde
相關文章
相關標籤/搜索