SELECT
table_name,
table_rows
FROM `information_schema`.`tables` WHERE TABLE_SCHEMA = 'ipms' ORDER BY table_rows DESC;
上述语句中 `information_schema`.`tables` 是不需要改的;
'ipms' 是根据需要查看的数据库,实际填写的:
SELECT
table_name,
table_rows
FROM `information_schema`.`tables` WHERE TABLE_SCHEMA = 'ipms' ORDER BY table_rows DESC;
上述语句中 `information_schema`.`tables` 是不需要改的;
'ipms' 是根据需要查看的数据库,实际填写的: