select table_name from information_schema.TABLES where TABLE_SCHEMA='db_name' information_schema这个是数据系统用来保存数据表的总表