Back to missions

AnalystOS Mission / SQL

Fix a Broken Query

Fix a broken SQL query and explain what was wrong in plain language.

Difficulty

Intermediate

Estimated time

45-70 minutes

Reward

+100 XP

Role fit

Data Analyst / Data Scientist

Accept Mission

Mission Brief

What you need to solve

Fix a broken SQL query and explain what was wrong in plain language.

Best fit

Data Analyst

Best fit

Data Scientist

Data You Will Use

What information you get

Subscription cohorts with signup dates, invoices, onboarding bands, churn flags, retained revenue, and risk scores.

SQL basicsFixing errorsChecking answersSimple explanation

Guided Steps

Follow Step 1 to Step 5

Use these beginner-friendly steps before you accept the mission.

Step 1

Find why the query is wrong.

Step 2

Fix the filter, grouping, join, or calculation.

Step 3

Check that the answer matches the question.

Step 4

Explain the fix in simple words.

Step 5

Save your work and explain your answer in simple language.

What You Will Create

What your work should contain

A fixed answer, what changed, a quick check, and a short business summary.

Fixed query

What was wrong

Check notes

Business summary

Starter Question

Use this to begin

Fix the query and show that the corrected answer can help a business decision.