Group customers who signed up between January and November 2025 by signup month (their cohort). A customer is retained in month 1 if they had at least one delivered order in the calendar month after their signup month.
Return cohort_month (text like 2025-03), cohort_size and m1_retention_pct (rounded to 1 decimal place), in cohort order.
Ctrl/⌘ + Enter runs the query. Table and column names are suggested as you type. Press Esc then Tab to leave the editor with the keyboard.
Expected output (11 rows)
Expected output
cohort_month
cohort_size
m1_retention_pct
2025-01
97
42.3
2025-02
111
42.3
2025-03
123
34.1
2025-04
146
39.0
2025-05
144
41.0
2025-06
151
39.1
2025-07
172
40.7
2025-08
193
35.2
2025-09
205
34.6
2025-10
287
32.8
2025-11
219
30.6
Row order matters for this question. Numbers are compared with a tiny tolerance; text must match exactly.
Stuck?
Stored on this device only. Your latest query and “solved” status are remembered in this browser only. They don’t sync between devices, and clearing your browser data removes them.