Update time-and-date.md

Updated to reflect this issue:
https://docs.influxdata.com/influxdb/cloud-dedicated/query-data/sql/aggregate-select/#group-by-time

Lots of customers run into this issue
pull/5600/head
Benjamin Corbett 2024-09-13 16:07:51 +01:00 committed by GitHub
parent 2c3db71255
commit 02d4b6f510
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