[TS-113] <docs>: selective functions can output ts column along with.

This commit is contained in:
Elias Soong 2021-08-12 18:33:12 +08:00
parent 73f97d1364
commit df2c476de6
1 changed files with 2 additions and 0 deletions

View File

@ -953,6 +953,8 @@ TDengine支持针对数据的聚合查询。提供支持的聚合和选择函数
### 选择函数
在使用所有的选择函数的时候,可以同时指定输出 ts 列或标签列(包括 tbname这样就可以方便地知道被选出的值是源于哪个数据行的。
- **MIN**
```mysql
SELECT MIN(field_name) FROM {tb_name | stb_name} [WHERE clause];