SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='pinyougoudb' select table_name from information_schema.tables where table_schema='当前数据库'