AI QA Bootcamp · Pro
Day 14 · SQL and data validation
From: Priya, QA Lead
Finance wants proof that order data is consistent: totals, tax, links between orders, users and products. Load the API data into a database and write SQL checks we can rerun after every release. A check that finds nothing is fine — as long as you can show it would have found something.
Data validation with SQL is a top skill in QA job descriptions. AI is very good at writing the SQL — and quietly wrong in the details: joins that drop rows, sums doubled by joins, float comparisons that never match. Today the AI writes a loader and the queries; you make sure they are correct and that they can fail.
api-tests/data/load_api.py— loads people, products, orders and order items into SQLite.api-tests/data/checks.sql— at least 8 data checks, each returning rows only when something is wrong.api-tests/data/DATA-REPORT.md— results, plus the mutation you used to prove each check works.
🔒 The rest of this mission is part of SQA Tools Pro
Step-by-step prompts for ChatGPT, Claude and Gemini, the “Catch the AI” traps, the acceptance checklist, the reference solution and your interview line.
Start your 7-day free Pro trial See plans
New accounts get every Pro feature free for 7 days — no card needed.