SELECT column_type FROM information_schema. COLUMNS WHERE TABLE_SCHEMA = "数据库名" AND DATA_TYPE = 'enum' AND table_name="表明" AND column_name="列名";
获取到的结果
2022-05-03 00:37:01
SELECT column_type FROM information_schema. COLUMNS WHERE TABLE_SCHEMA = "数据库名" AND DATA_TYPE = 'enum' AND table_name="表明" AND column_name="列名";
获取到的结果