Events per hour bucket (ClickHouse)

Events per hour bucket (ClickHouse)

Group events by the start of the hour of the ts timestamp (toStartOfHour) and, for each hour bucket, count the number of events. Return columns hour (start of hour) and events. Order by hour ascending.

A ordem das linhas importa

PostgreSQLv16
Entre para enviar

O resultado da sua consulta aparecerá aqui

Focus radio
Paused · SomaFM · Fluid