Query Library
The Query Library is the reusable SQL repository for this section. It is best after students know the business question they are working on. If students are still learning how to run SQL or read the company story, start with SQL Guide, Reports Hub, or Cases first.
Reports and cases answer different teaching needs. Reports show finished outputs. Cases give students a guided assignment flow. The Query Library sits underneath both: it exposes the SQL building blocks and the source-table logic behind the learning path.
Query Domains
| Domain | What students use it for | Go to |
|---|---|---|
| Financial Queries | Statements, settlement timing, working capital, payroll liabilities, accruals, CAPEX, budget, and commercial performance | Financial Queries |
| Managerial Queries | Cost management, product portfolio, manufacturing, labor, workforce coverage, planning, replenishment, pricing, and design-service utilization | Managerial Queries |
| Audit Queries | Document completeness, approvals, master data, workforce controls, planning support, pricing governance, source tracing, and anomaly review | Audit Queries |
When to Use the Query Library
Open the Query Library when the class needs the SQL inventory rather than a finished report or a guided case. It is not the first reading page for beginners:
- start with SQL Guide when students need the mechanics of running SQL
- open the query domain that matches the accounting or business question after the process is clear
- use the compact query cards to read the objective, output grain, and main tables
- expand the SQL only when students are ready to inspect joins, filters, or calculations
- move into Reports or Cases when students need interpretation or a structured assignment
Case-Support Trace Queries
These queries are built for the core process-tracing cases. They are public SQL, but they are best used inside the matching case because the case explains the transaction story and the required student output.
Use these trace queries with the matching case page. They are source-level support queries rather than general starter packs.
Next Steps
- Use Financial Queries, Managerial Queries, or Audit Queries when students need reusable SQL.
- Use Reports Hub when students need management-style or perspective-led interpretation.
- Use Cases when students need a guided assignment with required output.