This commit is contained in:
feng lv 2021-04-25 07:58:40 +00:00
parent 3df8423b6e
commit 79a3800679
2 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,3 @@
default t1 this is a temtorary table t1 this is a temtorary table
default t2 this is a MergeTree table t2 this is a MergeTree table
default t3 this is a Log table t3 this is a Log table

View File

@ -25,11 +25,10 @@ ENGINE = Log
COMMENT 'this is a Log table'; COMMENT 'this is a Log table';
SELECT SELECT
database,
name, name,
comment comment
FROM system.tables FROM system.tables
WHERE name IN ('t1', 't2', 't3'); WHERE name IN ('t1', 't2', 't3') order by name;
DROP TABLE t1; DROP TABLE t1;
DROP TABLE t2; DROP TABLE t2;