ClickHouse/tests/queries/0_stateless/01063_create_column_set.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
217 B
MySQL
Raw Normal View History

2020-01-15 18:19:46 +00:00
DROP TABLE IF EXISTS mt;
CREATE TABLE mt (x UInt8, y Date) ENGINE = MergeTree ORDER BY x;
SELECT count()
FROM mt
ANY LEFT JOIN
(
SELECT 1 AS x
) js2 USING (x)
2020-01-15 18:19:46 +00:00
PREWHERE x IN (1) WHERE y = today();
DROP TABLE mt;