select * from information_schema.PARTITIONS where TABLE_SCHEMA='test' and TABLE_NAME='abc' TABLE_SCHEMA是数据库名