Ask the vault the right question
Tables and rows, SELECT / WHERE / ORDER BY, safe ? parameters instead of pasted input, and JOIN.
- Briefing, about 7 minutes with quick checks · read it as a guide
- Shelf Search (practice): Filter and sort the vault's items with WHERE, ORDER BY and a ? parameter.
- Item Floors (practice): JOIN items with vaults to find each item's floor, and 404 for the missing ones.
- Vault Ledger (checkpoint): Filter, sort, count and total a vault's items, and shut the SQL injection hole.