mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-27 18:30:38 +00:00
* feat: local catalog drop table * Update src/catalog/src/local/manager.rs Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com> * Update src/catalog/src/local/manager.rs Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com> * fix: resolve PR comments --------- Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com>
32 lines
522 B
SQL
32 lines
522 B
SQL
CREATE SCHEMA test_schema;
|
|
|
|
SHOW DATABASES;
|
|
|
|
CREATE TABLE test_schema.hello(i BIGINT TIME INDEX);
|
|
|
|
DROP TABLE test_schema.hello;
|
|
|
|
DROP SCHEMA test_schema;
|
|
|
|
CREATE SCHEMA test_schema;
|
|
|
|
CREATE TABLE test_schema.hello(i BIGINT TIME INDEX);
|
|
|
|
INSERT INTO test_schema.hello VALUES (2), (3), (4);
|
|
|
|
SELECT * FROM test_schema.hello;
|
|
|
|
SHOW TABLES;
|
|
|
|
SHOW TABLES FROM test_schema;
|
|
|
|
DROP TABLE test_schema.hello;
|
|
|
|
DROP TABLE test_schema.hello;
|
|
|
|
SHOW TABLES FROM test_schema;
|
|
|
|
DROP SCHEMA test_schema;
|
|
|
|
SELECT * FROM test_schema.hello;
|