ClickHouse/tests/queries/0_stateless/01778_where_with_column_name.sql
2021-03-29 16:12:02 +08:00

6 lines
240 B
SQL

DROP TABLE IF EXISTS ttt01778;
CREATE TABLE ttt01778 (`1` String, `2` INT) ENGINE = MergeTree() ORDER BY tuple();
INSERT INTO ttt01778 values('1',1),('2',2),('3',3);
select * from ttt01778 where 1=2; -- no server error
DROP TABLE ttt01778;