SQL create text column code example
Example: sql create text column limited values
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')));
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')));