Welcome to SQL Office Simulator
You are no longer solving abstract multiple-choice quizzes or artificial toy problems. Inside the SQL Office Simulator, you step into the role of a data analyst working for real organizations. Your coworkers and executives message you with realistic analytical questions—you query actual PostgreSQL schemas in Monaco editor and report your answers.
How the Simulator Works
Sign Up & Honor Code
Create your learner profile in 30 seconds. Accept our human-first honor pledge to build genuine problem-solving skills without AI copy-pasting.
Choose Your Domain
Pick from 7 simulated companies including E-Commerce, Healthcare, Banking, SaaS, and Logistics. Every domain features isolated relational schemas.
Query Live Database
Read stakeholder tickets in your company inbox. Inspect real database tables and write queries in a Monaco SQL editor with autocomplete and schema docs.
Dual-Dataset Anti-Cheat
Your submitted queries are tested against both visible and hidden validation datasets to guarantee robust logic, earning XP and unlocking higher levels.
The 7 Simulated Organizations
Each organization features custom PostgreSQL tables matching real industry architectures.
E-Commerce
500 QsCustomer cohort analysis, repeat buyers, basket sizes, warehouse fulfillment, regional returns
customers, orders, order_items, products, shipments, returns
Healthcare
500 QsTreatment protocols, ER wait times, physician load, prescription alerts, insurance claims
patients, appointments, doctors, diagnoses, prescriptions, billing
Finance & Banking
500 QsDebit card fraud surges, high-frequency transactions, loan defaults, AML compliance
accounts, customers, transactions, loans, cards, fraud_alerts
Human Resources
500 QsAttrition cohorts, compensation parity, departmental tenure, promotion velocity
employees, departments, salaries, attendance, performance_reviews
Logistics & Supply
500 QsCarrier route delays, container dwell time, dock utilization, delivery bottlenecks
shipments, vehicles, drivers, routes, warehouses, delivery_events
Restaurants & Hospitality
500 QsTable turnaround times, peak-hour kitchen throughput, food waste variance, server gratuity
restaurants, menu_items, orders, staff, shifts, reservations
Software (B2B SaaS)
500 QsARR expansion, churn cohorts, seat utilization, feature drop-off, renewal health
users, accounts, subscriptions, feature_usage, incidents, invoices
5 Career Levels: From Seed Startup to Global Giant
Every level increases schema complexity, table volume, and the seniority of your analytical answers.
The Startup
Fast-moving founding team. Answer leadership requests using foundational SQL (SELECT, WHERE, GROUP BY, aggregations, INNER/LEFT JOIN).
Growing Company
Multiple functional teams and expanding schemas. Write multi-table JOINs, Common Table Expressions (CTEs), CASE WHEN logic, and date math.
Scale-Up
High transaction volume and international cohorts. Master window functions (ROW_NUMBER, RANK, LAG/LEAD) and multi-step CTE analytics.
Enterprise
Legacy systems and merged databases. Execute recursive queries, gap-and-island problems, deduplication algorithms, and query performance audits.
Global Corporation
Billion-dollar conglomerate. Formulate executive C-suite summaries, slowly changing dimensions (SCD), complex percentiles, and YoY variance.
Two Ways to Practice: Cloud Online or Local Machine
Use the Hosted Vercel Platform
Zero installation, no Docker or Node.js required. Open your browser and immediately begin practicing SQL in WebAssembly PostgreSQL.
Launch sql-office-simulator.vercel.app →Run Locally via Git
Clone the repository from GitHub, configure Supabase credentials, and contribute questions or features using Next.js 16 and TypeScript.
View Repository on GitHub →Ready to Begin Your SQL Career?
Create your account today, review the honor policy, choose your starting company, and tackle your first assignment from leadership.