ClickHouse/tests/queries/0_stateless/00702_where_with_quailified_names.sql
Ivan 97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00

7 lines
270 B
SQL

DROP TABLE IF EXISTS where_qualified;
CREATE TABLE where_qualified(a UInt32, b UInt8) ENGINE = Memory;
INSERT INTO where_qualified VALUES(1, 1);
INSERT INTO where_qualified VALUES(2, 0);
SELECT a from where_qualified WHERE where_qualified.b;
DROP TABLE where_qualified;