mirror of
https://github.com/hanzo-ds/sqlparser.git
synced 2026-10-30 20:53:50 +00:00
7 lines
177 B
SQL
7 lines
177 B
SQL
CREATE TABLE example1 (
|
|
timestamp DateTime,
|
|
x UInt32 TTL timestamp + INTERVAL 1 MONTH,
|
|
y UInt32 TTL timestamp + INTERVAL 1 WEEK
|
|
)
|
|
ENGINE = MergeTree
|
|
ORDER BY tuple() |