mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-14 17:23:09 +00:00
* test: Sqlness tests for distribute mode * ci * fix: resolve PR comments * fix: resolve PR comments
16 lines
294 B
SQL
16 lines
294 B
SQL
CREATE TABLE test(i INTEGER, j BIGINT TIME INDEX);
|
|
|
|
INSERT INTO test VALUES (1, 1), (2, 2);
|
|
|
|
INSERT INTO test VALUES (3, 3);
|
|
|
|
ALTER TABLE test ADD COLUMN k INTEGER;
|
|
|
|
ALTER TABLE test ADD COLUMN l INTEGER;
|
|
|
|
ALTER TABLE test ADD COLUMN m INTEGER DEFAULT 3;
|
|
|
|
SELECT * FROM test;
|
|
|
|
DROP TABLE test;
|