Challenge: Monthly Retention Rate Calculation
Opgave
Swipe to start coding
Write a query to calculate the percentage of employees from each hire (signup) month who received a performance review in each subsequent month.
- For each employee, identify their hire month as the cohort (signup_month).
- For each performance review, identify the month of the review as activity_month.
- For each combination of signup_month and activity_month, calculate the percentage of employees from that signup_month cohort who had at least one performance review in that activity_month.
- Express the percentage as a value between 0 and 100 with decimal precision.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Can you explain that in simpler terms?
What are the main benefits of this approach?
Are there any common mistakes to avoid with this?
Fantastisk!
Completion rate forbedret til 4.55
Challenge: Monthly Retention Rate Calculation
Stryg for at vise menuen
Opgave
Swipe to start coding
Write a query to calculate the percentage of employees from each hire (signup) month who received a performance review in each subsequent month.
- For each employee, identify their hire month as the cohort (signup_month).
- For each performance review, identify the month of the review as activity_month.
- For each combination of signup_month and activity_month, calculate the percentage of employees from that signup_month cohort who had at least one performance review in that activity_month.
- Express the percentage as a value between 0 and 100 with decimal precision.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 6
single