Files
greptimedb/tests/cases/standalone/alter/add_col.sql
LFC af935671b2 feat: support "use" in GRPC requests (#922)
* feat: support "use catalog and schema"(behave like the "use" in MySQL) in GRPC requests

* fix: rebase develop
2023-02-02 20:02:56 +08:00

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;