This commit is contained in:
Dmitry Rubashkin 2019-09-13 22:07:22 +03:00
parent 33e7e1ea93
commit ea3f80460c
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,6 @@
find me
and me
also me
find me
and me
also me

View File

@ -0,0 +1,5 @@
DROP TABLE IF EXISTS enums;
CREATE TABLE enums AS VALUES('x Enum8(\'hello\' = 0, \'world\' = 1, \'foo\' = -1), y String', ('hello', 'find me'), (0, 'and me'), (-1, 'also me'), ('world', 'don\'t find me'));
SELECT y FROM enums WHERE x IN (0, -1);
SELECT y FROM enums WHERE x IN ('hello', -1);