mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-25 09:20:40 +00:00
* feat: support "use catalog and schema"(behave like the "use" in MySQL) in GRPC requests * fix: rebase develop
14 lines
219 B
SQL
14 lines
219 B
SQL
CREATE SCHEMA test_add_col;
|
|
|
|
USE test_add_col;
|
|
|
|
CREATE TABLE test(i INTEGER, j BIGINT TIME INDEX);
|
|
|
|
INSERT INTO test VALUES (1, 1), (2, 2);
|
|
|
|
ALTER TABLE test ADD COLUMN k INTEGER;
|
|
|
|
SELECT * FROM test;
|
|
|
|
DROP TABLE test;
|