Events per day (ClickHouse)
Events per day (ClickHouse)
Group the events table by the start of the day of the ts timestamp (toStartOfDay) and, for each day, count the total number of events. Return columns day (start of day) and events (row count). Order by day ascending.
Exemplo de resposta esperada
| day | events |
|---|---|
| 2024-01-01 00:00:00 | 3 |
| 2024-01-02 00:00:00 | 3 |
| 2024-01-03 00:00:00 | 4 |
Entre para ver seu histórico de envios
EntrarEntre para usar o AI Mentor
EntrarFocus radio
Paused · SomaFM · Fluid