Merge pull request #5600 from influxdata/bcorbett6-patch-1

Update time alias when using date bin and group by time.md
pull/5601/head
Jason Stirnaman 2024-09-17 09:03:41 -05:00 committed by GitHub
commit 9c07760078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ The following query returns the daily average of water levels in the queried tim
```sql
SELECT
date_bin(INTERVAL '1 day', time, TIMESTAMP '1970-01-01 00:00:00Z') AS time,
date_bin(INTERVAL '1 day', time, TIMESTAMP '1970-01-01 00:00:00Z') AS _time,
avg("water_level") AS water_level_avg
FROM "h2o_feet"
WHERE