hotfix: fix v2 influxql example

pull/5601/head^2
Scott Anderson 2024-09-17 15:21:29 -06:00
parent 9c07760078
commit 786a862eb9
1 changed files with 3 additions and 2 deletions

View File

@ -224,10 +224,11 @@ measurement.
{{% expand "Group query results by tags that start with `l`" %}}
```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 %}}