查看数据库中是否存在某张表 select count(*) from information_schema.tables where table_schema = '数据库名' and table_name = '表名';