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

Loading...