select count(*) from information_schema.COLUMNS where TABLE_SCHEMA='olympic2022' and table_name='infosys_server' 此处'olympic2022'是自己的数据库名,'infosys_server'是自己的表名