mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-07 13:52:59 +00:00
* feat: only allow timestamp data type as time index * test: update sqltest cases, todo: need some fixes * fix: sqlness tests * fix: forgot adding back cte test * chore: style
10 lines
282 B
SQL
10 lines
282 B
SQL
CREATE TABLE integers(i TIMESTAMP TIME INDEX);
|
|
|
|
INSERT INTO integers VALUES (0), (1), (2), (3), (4);
|
|
|
|
SELECT * FROM integers UNION ALL SELECT * FROM integers LIMIT 7;
|
|
|
|
SELECT COUNT(*) FROM (SELECT * FROM integers UNION ALL SELECT * FROM integers LIMIT 7) tbl;
|
|
|
|
DROP TABLE integers;
|