All paths/Business and Marketing

Business and Marketing

3 paths · 95 missions · Real stakeholder briefs

Marketing Analytics

Query campaign data, measure ROI, and debug data quality issues for your marketing team.

30 missions|5 tables
  • What campaigns are running?
  • Which campaign drove the most revenue?
  • Normalize the gender mess
  • Real-World ScenariosSolve marketing analytics problems from fictional managers, just like a real job.
  • Messy DataWork with NULLs, duplicates, inconsistent formats, and refunds — the stuff tutorials skip.
  • Instant Feedback5-tier validation engine compares your results against multiple accepted approaches.

Business Intelligence

Build executive dashboards, track KPIs, and translate business questions into SQL.

31 missions|5 tables
  • Who is hitting their sales targets?
  • Rank the sales team
  • Three-table join: who sold what where?
  • Dimensional Modeling in PracticeA 5-table star schema (fact_sales, fact_targets + 3 dimensions) with trailing spaces, ghost regions, inactive employees, and casing drift — the exact patterns you’ll handle modeling real marts.
  • Window Functions End-to-EndRANK, ROW_NUMBER, LAG, LEAD, NTILE, PERCENT_RANK, SUM() OVER with framed windows, moving averages, YoY pivots, and running totals — the window-function curriculum most interviews screen on.
  • Grain Reasoning & Fan-Out BugsMission 26 (“Why is our leaderboard off by 12x?”) drills the canonical BI mistake: a clean query, the wrong grain, a 12× inflated total. Pre-aggregated CTEs as the fix.

RevOps & Sales Analytics

OpportunityHistory SCD2, Closed-Won reopens, stage regressions, forecast accuracy, ARR waterfalls — the SQL RevOps and Sales Ops analysts actually write.

34 missions|8 tables
  • What stages exist in the pipeline?
  • Deals that reopened after Closed-Won
  • Closed-Won cohort retention by month
  • Salesforce-Shaped SchemaAccount, Contact, Lead, Opportunity, OpportunityHistory, User. The exact table shape you’ll see on day one of any Sales Cloud shop, with the field names you’ll recognize from real Salesforce exports.
  • OpportunityHistory SCD2Every stage change, amount change, owner change logged as a row. Point-in-time reconstruction (“what did the forecast look like on March 15?”), stage regression detection, and the Closed-Won reopen anti-pattern that invalidates 80% of naive pipeline reports.
  • Sales Cycle + Velocity SQLStage-duration windows, rep win-rate by region, top-N per group, quarter-over-quarter bookings waterfalls, forecast accuracy as a backtest. The full RevOps analyst toolkit.