SQL cheat sheet
Practice SELECT, aggregation, LEFT JOIN, common table expressions, and ranking in SQLite.
- Open latihan.sqlite with a SQLite-compatible tool and read latihan.sql.
- Inspect table keys and row counts before joining or aggregating data.
- Compare query results with expected totals and explain how NULL values are handled.