SELECT date_trunc('week', rated_at)::date AS day, COUNT(*) AS new_ratings FROM ratings GROUP BY day ORDER BY day LIMIT 20
Run Cancel

Loading...