◀ Back to Playground HomeCount the number of rows grouped by weekselect DATETRUNC('week', timestamp_field) AS ts, count(*) from users group by ts order by count(*) DESC