未验证 提交 72aef907 编写于 作者: A ATR 提交者: GitHub

Update index.html

create table t (ts timestamp, speed int); // fix 'cdata' to 'speed'
上级 282d99cd
...@@ -28,7 +28,7 @@ ...@@ -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> <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; <pre><code class="mysql language-mysql">create database db;
use 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:00:00', 10);
insert into t values ('2019-07-15 10:01:05', 20); insert into t values ('2019-07-15 10:01:05', 20);
select * from t; select * from t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册