hotfix: fix v2 influxql example
parent
9c07760078
commit
786a862eb9
content/influxdb/v2/query-data/influxql/explore-data
|
@ -224,10 +224,11 @@ measurement.
|
||||||
{{% expand "Group query results by tags that start with `l`" %}}
|
{{% expand "Group query results by tags that start with `l`" %}}
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
SELECT "water_level",location FROM "h2o_feet" GROUP BY /l/
|
SELECT MAX("water_level"),location FROM "h2o_feet" GROUP BY /l/
|
||||||
```
|
```
|
||||||
|
|
||||||
This query uses a regular expression to group by tags that start with `l`. With the sample NOAA water dataset, results are grouped by the `location` tag.
|
This query uses a regular expression to group by tags that start with `l`.
|
||||||
|
With the sample NOAA water dataset, results are grouped by the `location` tag.
|
||||||
|
|
||||||
{{% /expand %}}
|
{{% /expand %}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue