Update index.html
create table t (ts timestamp, speed int); // fix 'cdata' to 'speed'
This commit is contained in:
parent
282d99cd43
commit
72aef9078d
|
@ -28,7 +28,7 @@
|
|||
<p>In the TDengine shell, you can create databases, create tables and insert/query data with SQL. Each query command ends with a semicolon. It works like MySQL, for example:</p>
|
||||
<pre><code class="mysql language-mysql">create database db;
|
||||
use db;
|
||||
create table t (ts timestamp, cdata int);
|
||||
create table t (ts timestamp, speed int);
|
||||
insert into t values ('2019-07-15 10:00:00', 10);
|
||||
insert into t values ('2019-07-15 10:01:05', 20);
|
||||
select * from t;
|
||||
|
|
Loading…
Reference in New Issue