The SQL patterns RevOps, Sales Ops, and Revenue Analytics teams actually write — OpportunityHistory SCD2 point-in-time snapshots, pipeline stage regressions, mid-cycle owner reassignments, Closed-Won reopens that inflate pipeline, top-N-per-region rep rankings, sales cycle velocity, ARR waterfall bridges, and forecast-accuracy backtests — against a Salesforce-shaped dataset with realistic dirty history. Written for career changers with any bachelor’s degree — SaaS B2B analytics roles (Sales Ops Analyst, RevOps Analyst, Revenue Analyst) pay $75–110K entry-level and hire on portfolio work like this.
30 missions (10 free · 20 Pro incl. 5 Master) · 6 tables · OpportunityHistory SCD2 + Closed-Won reopens
Read the briefing
A Slack message from your manager
Explore the schema
5 tables in a star schema
Write your query
Full SQL editor with autocomplete
Get expert feedback
Graduated hints, not just pass/fail
Account, 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.
Every 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.
Stage-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.
Every mission maps to a published RevOps / Sales Ops analyst prompt (Salesforce, Gong, Outreach, ZoomInfo, HubSpot, Databricks, Zscaler). Pair with a Salesforce Admin cert (~$200, 1 month) and you have a hiring edge.
Each mission is a real request from someone at the company. Difficulty increases as you go.
A Salesforce-shaped RevOps schema with planted history-table realism. Opportunities move forward and sometimes backward through stages, deals get reassigned mid-cycle, Closed-Won deals occasionally reopen and inflate the active pipeline, regions and reps have uneven quota attainment, and the OpportunityHistory SCD2 captures every stage / amount / owner change with timestamps. The exact data shape RevOps analysts see on day one at any SaaS company on Sales Cloud.
●dimension tables ● fact tables
Write the SCD2 snapshots, the stage-regression detection, and the waterfall bridges that actually tie the number.
Looking for something different?