MySQL查询当前数据库中所有记录不为空的表 select TABLE_NAME from information_schema.tables where TABLE_SCHEMA='当前数据库' and table_rows>0;