SQL Utwórz wartości ograniczone kolumny tekstowe
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')));
Difficult Dogfish