📅  最后修改于: 2022-03-11 15:05:22.429000             🧑  作者: Mango
CREATE TABLE tablename (id INTEGER NOT NULL, some_text VARCHAR(255), CONSTRAINT check_some_text CHECK (some_text IN ('option_a', 'option_b', 'option_c')));