Merge pull request #16864 from taosdata/liuyq-617-patch-1
Update 07-tmq.mdx
This commit is contained in:
commit
9dee8fdb82
|
@ -218,7 +218,7 @@ void Close()
|
||||||
```sql
|
```sql
|
||||||
DROP DATABASE IF EXISTS tmqdb;
|
DROP DATABASE IF EXISTS tmqdb;
|
||||||
CREATE DATABASE tmqdb;
|
CREATE DATABASE tmqdb;
|
||||||
CREATE TABLE tmqdb.stb (ts TIMESTAMP, c1 INT, c2 FLOAT, c3 VARCHAR(16) TAGS(t1 INT, t3 VARCHAR(16));
|
CREATE TABLE tmqdb.stb (ts TIMESTAMP, c1 INT, c2 FLOAT, c3 VARCHAR(16)) TAGS(t1 INT, t3 VARCHAR(16));
|
||||||
CREATE TABLE tmqdb.ctb0 USING tmqdb.stb TAGS(0, "subtable0");
|
CREATE TABLE tmqdb.ctb0 USING tmqdb.stb TAGS(0, "subtable0");
|
||||||
CREATE TABLE tmqdb.ctb1 USING tmqdb.stb TAGS(1, "subtable1");
|
CREATE TABLE tmqdb.ctb1 USING tmqdb.stb TAGS(1, "subtable1");
|
||||||
INSERT INTO tmqdb.ctb0 VALUES(now, 0, 0, 'a0')(now+1s, 0, 0, 'a00');
|
INSERT INTO tmqdb.ctb0 VALUES(now, 0, 0, 'a0')(now+1s, 0, 0, 'a00');
|
||||||
|
|
Loading…
Reference in New Issue