Loading…
A repeat customer has two or more orders that were not cancelled. For each customer_segment, count customers who placed at least one non-cancelled order, count repeat customers, and calculate the repeat rate.
Return four columns: customer_segment, customers, , and rounded to 1 decimal. Order by .
repeat_customersrepeat_rate_pctcustomer_segmentCreate a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.