Which acquisition channels bring customers who come back? Consider customers with at least one delivered order. A repeat customer has two or more delivered orders.
Return channel (show NULL as 'unknown'), customers, repeat_customers and repeat_rate_pct (rounded to 1 decimal place).
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 (6 rows)
Expected output
channel
customers
repeat_customers
repeat_rate_pct
offline
140
108
77.1
organic
700
493
70.4
paid_social
466
334
71.7
referral
372
257
69.1
search_ads
327
223
68.2
unknown
58
45
77.6
Row order doesn’t matter 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.