SELECT column_type FROM information_schema. COLUMNS WHERE TABLE_SCHEMA = "数据库名" AND DATA_TYPE = 'enum' AND table_name="表明" AND column_name="列名";
获取到的结果
SELECT column_type FROM information_schema. COLUMNS WHERE TABLE_SCHEMA = "数据库名" AND DATA_TYPE = 'enum' AND table_name="表明" AND column_name="列名";
获取到的结果