2024-12-02 10:15:11 +00:00
|
|
|
DROP TABLE IF EXISTS t_enum_in_unknown_value;
|
|
|
|
|
|
|
|
CREATE TABLE t_enum_in_unknown_value (e Enum('a'=1, 'b'=2)) ENGINE=Memory;
|
|
|
|
|
|
|
|
INSERT INTO t_enum_in_unknown_value VALUES ('a');
|
|
|
|
|
|
|
|
SELECT * FROM t_enum_in_unknown_value;
|
|
|
|
|
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e IN ('a');
|
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e NOT IN ('a');
|
|
|
|
|
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e IN ('a', 'b');
|
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e NOT IN ('a', 'b');
|
|
|
|
|
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e IN ('a', 'c');
|
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e NOT IN ('a', 'c');
|
|
|
|
|
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e IN ('a', 'b', 'c');
|
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e NOT IN ('a', 'b', 'c');
|
|
|
|
|
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e IN ('c');
|
2024-12-02 10:23:18 +00:00
|
|
|
SELECT * FROM t_enum_in_unknown_value WHERE e NOT IN ('c');
|