Skip to content

Commit ee8908d

Browse files
committed
fix cq example
1 parent 2568aff commit ee8908d

File tree

8 files changed

+32
-32
lines changed

8 files changed

+32
-32
lines changed

src/UserGuide/Master/Tree/User-Manual/Database-Programming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,10 @@ This step performs the nested sub query in from clause of the query above. The f
565565
```sql
566566
CREATE CQ s1_count_cq
567567
BEGIN
568-
SELECT count(s1)
569-
INTO root.sg_count.d(count_s1)
570-
FROM root.sg.d
571-
GROUP BY(30m)
568+
SELECT count(s1)
569+
INTO root.sg_count.d(count_s1)
570+
FROM root.sg.d G
571+
ROUP BY(30m)
572572
END
573573
```
574574

src/UserGuide/V1.3.x/User-Manual/Database-Programming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,10 @@ This step performs the nested sub query in from clause of the query above. The f
565565
```sql
566566
CREATE CQ s1_count_cq
567567
BEGIN
568-
SELECT count(s1)
569-
INTO root.sg_count.d(count_s1)
570-
FROM root.sg.d
571-
GROUP BY(30m)
568+
SELECT count(s1)
569+
INTO root.sg_count.d(count_s1)
570+
FROM root.sg.d G
571+
ROUP BY(30m)
572572
END
573573
```
574574

src/UserGuide/dev-1.3/User-Manual/Database-Programming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,10 @@ This step performs the nested sub query in from clause of the query above. The f
565565
```sql
566566
CREATE CQ s1_count_cq
567567
BEGIN
568-
SELECT count(s1)
569-
INTO root.sg_count.d(count_s1)
570-
FROM root.sg.d
571-
GROUP BY(30m)
568+
SELECT count(s1)
569+
INTO root.sg_count.d(count_s1)
570+
FROM root.sg.d G
571+
ROUP BY(30m)
572572
END
573573
```
574574

src/UserGuide/latest/User-Manual/Database-Programming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,10 @@ This step performs the nested sub query in from clause of the query above. The f
565565
```sql
566566
CREATE CQ s1_count_cq
567567
BEGIN
568-
SELECT count(s1)
569-
INTO root.sg_count.d(count_s1)
570-
FROM root.sg.d
571-
GROUP BY(30m)
568+
SELECT count(s1)
569+
INTO root.sg_count.d(count_s1)
570+
FROM root.sg.d G
571+
ROUP BY(30m)
572572
END
573573
```
574574

src/zh/UserGuide/Master/Tree/User-Manual/Database-Programming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,10 @@ SELECT avg(count_s1) from (select count(s1) as count_s1 from root.sg.d group by(
561561
```sql
562562
CREATE CQ s1_count_cq
563563
BEGIN
564-
SELECT count(s1)
565-
INTO root.sg_count.d.count_s1
566-
FROM root.sg.d
567-
GROUP BY(30m)
564+
SELECT count(s1)
565+
INTO root.sg_count.d(count_s1)
566+
FROM root.sg.d G
567+
ROUP BY(30m)
568568
END
569569
```
570570

src/zh/UserGuide/V1.3.x/User-Manual/Database-Programming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,10 @@ SELECT avg(count_s1) from (select count(s1) as count_s1 from root.sg.d group by(
561561
```sql
562562
CREATE CQ s1_count_cq
563563
BEGIN
564-
SELECT count(s1)
565-
INTO root.sg_count.d.count_s1
566-
FROM root.sg.d
567-
GROUP BY(30m)
564+
SELECT count(s1)
565+
INTO root.sg_count.d(count_s1)
566+
FROM root.sg.d G
567+
ROUP BY(30m)
568568
END
569569
```
570570

src/zh/UserGuide/dev-1.3/User-Manual/Database-Programming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,10 @@ SELECT avg(count_s1) from (select count(s1) as count_s1 from root.sg.d group by(
561561
```sql
562562
CREATE CQ s1_count_cq
563563
BEGIN
564-
SELECT count(s1)
565-
INTO root.sg_count.d.count_s1
566-
FROM root.sg.d
567-
GROUP BY(30m)
564+
SELECT count(s1)
565+
INTO root.sg_count.d(count_s1)
566+
FROM root.sg.d G
567+
ROUP BY(30m)
568568
END
569569
```
570570

src/zh/UserGuide/latest/User-Manual/Database-Programming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -561,10 +561,10 @@ SELECT avg(count_s1) from (select count(s1) as count_s1 from root.sg.d group by(
561561
```sql
562562
CREATE CQ s1_count_cq
563563
BEGIN
564-
SELECT count(s1)
565-
INTO root.sg_count.d.count_s1
566-
FROM root.sg.d
567-
GROUP BY(30m)
564+
SELECT count(s1)
565+
INTO root.sg_count.d(count_s1)
566+
FROM root.sg.d G
567+
ROUP BY(30m)
568568
END
569569
```
570570

0 commit comments

Comments
 (0)