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 issuepull/5600/head
parent
2c3db71255
commit
02d4b6f510
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue