select TABLE_NAME from information_schema.tables where TABLE_SCHEMA='当前数据库' and table_rows>0; 转载于:https://www.cnblogs.com/zjlog/p/5607693.html