Running…
View SQL
SELECT country, count(*) AS customers
FROM sample.customers
WHERE created_at >= now() - make_interval(months => {{months}}::int)
GROUP BY country
ORDER BY customers DESC
LIMIT 10SELECT country, count(*) AS customers
FROM sample.customers
WHERE created_at >= now() - make_interval(months => {{months}}::int)
GROUP BY country
ORDER BY customers DESC
LIMIT 10