本文翻譯自官網,官方文檔地址:(https://docs.influxdata.com/influxdb/v1.7/query_language/data_exploration/)
InfluxQL是用於在InfluxDB中進行數據探索的類似於SQL的查詢語法。下面將詳細介紹在InfluxDB中使用select語句的情形。
接下來介紹的語法如下面的表格所示。
The Basics | Configure Query Results | General Tips on Query Syntax |
---|---|---|
The SELECT statement | ORDER BY time DESC | Time Syntax |
The WHERE clause | The LIMIT and SLIMIT clauses | Regular Expressions |
The GROUP BY clause | The OFFSET and SOFFSET clauses | Data types and cast operations |
The INTO clause | The Time Zone clause | Merge behavior |
Multiple statements | ||
Subqueries |
目錄