mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-27 08:29: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
184 B
SQL
10 lines
184 B
SQL
CREATE TABLE test(i INTEGER, j TIMESTAMP TIME INDEX);
|
|
|
|
INSERT INTO test VALUES (1, 1), (2, 2);
|
|
|
|
ALTER TABLE test ADD COLUMN k INTEGER DEFAULT 3;
|
|
|
|
SELECT * FROM test;
|
|
|
|
DROP TABLE test;
|