Resources

SQL learning resources

Use these resources to understand the relational model, review SQL concepts and connect queries to finance scenarios.

Relational model

Schema SQL

Review tables, columns, primary keys and foreign keys and the relationships between sales, purchases, payments and products.

View the schema
Cheat sheet

SQL reference

Quickly find essential syntax for SELECT, WHERE, JOIN, GROUP BY, HAVING, COALESCE, VAT and gross margin.

View SQL reference
Definitions

SQL glossary

Review key definitions: primary key, foreign key, aggregation, join, NULL, aliases and SQL functions.

View glossary
Finance / accounting / business

Scenario-based exercises

Understand and query simplified data involving VAT, margins, overdue balances, purchases and sales.

View scenarios

How to use these resources