@@ -119,13 +119,13 @@ For more details, see document [Operate-Metadata](../Basic-Concept/Operate-Metad
119119
120120** Example 1:** Create a template containing two non-aligned timeseires
121121
122- ``` shell
122+ ``` sql
123123IoTDB> create device template t1 (temperature FLOAT, status BOOLEAN )
124124```
125125
126126** Example 2:** Create a template containing a group of aligned timeseires
127127
128- ``` shell
128+ ``` sql
129129IoTDB> create device template t2 aligned (lat FLOAT, lon FLOAT)
130130```
131131
@@ -465,7 +465,7 @@ For more details, see document [Data Import](../Tools-System/Data-Import-Tool_ap
465465
466466#### Load with Script
467467
468- ```
468+ ``` sql
469469./ load- rewrite .bat - f D:\IoTDB\data - h 192 .168 .0 .101 - p 6667 - u root - pw root
470470```
471471
@@ -902,11 +902,11 @@ IoTDB > select s1, s2 into root.sg_copy.d1(t1, t2), aligned root.sg_copy.d2(t1,
902902
903903## 8. Maintennance
904904Generate the corresponding query plan:
905- ```
905+ ``` sql
906906explain select s1,s2 from root .sg .d1
907907```
908908Execute the corresponding SQL, analyze the execution and output:
909- ```
909+ ``` sql
910910explain analyze select s1,s2 from root .sg .d1 order by s1
911911```
912912## 9. OPERATOR
@@ -1703,27 +1703,27 @@ eg: REVOKE ALL ON ROOT.** FROM USER user1;
17031703
17041704# ### Delete Time Partition (experimental)
17051705
1706- ```
1706+ ` ` ` sql
17071707Eg: IoTDB > DELETE PARTITION root.ln 0,1,2
17081708` ` `
17091709
17101710# ### Continuous Query,CQ
17111711
1712- ```
1712+ ` ` ` sql
17131713Eg: IoTDB > CREATE CONTINUOUS QUERY cq1 BEGIN SELECT max_value(temperature) INTO temperature_max FROM root.ln.*.* GROUP BY time(10s) END
17141714` ` `
17151715
17161716# ### Maintenance Command
17171717
17181718- FLUSH
17191719
1720- ```
1720+ ` ` ` sql
17211721Eg: IoTDB > flush
17221722` ` `
17231723
17241724- MERGE
17251725
1726- ```
1726+ ` ` ` sql
17271727Eg: IoTDB > MERGE
17281728Eg: IoTDB > FULL MERGE
17291729` ` `
@@ -1748,12 +1748,12 @@ Eg: IoTDB > STOP REPAIR DATA
17481748
17491749- SET SYSTEM TO READONLY / WRITABLE
17501750
1751- ```
1751+ ` ` ` sql
17521752Eg: IoTDB > SET SYSTEM TO READONLY / WRITABLE
17531753` ` `
17541754
17551755- Query abort
17561756
1757- ```
1757+ ` ` ` sql
17581758Eg: IoTDB > KILL QUERY 1
17591759` ` `
0 commit comments