DOMAIN 06 / 28 TOPICS

SQL and databases for testers

Check what the app saved: select, filter and join, find doubles and orphans, make test data, and test constraints and transactions.

YOUR PROGRESS IN THIS DOMAIN

0 of 28 topics demonstrated.

The whole domain takes about 7 hours 15 minutes.

Try this one without a pass

READ THE FIRST EXPLANATION →

Databases for testers — the first explanation of every topic is open. Deeper levels stay Pro.

DOMAIN CERTIFICATE / CHECKABLE CREDENTIAL

Earn the SQL and databases for testers certificate

Pass the timed exam to earn a public, checkable credential in the name on your account.

Draw
20 random questions
Time
30 minutes
Pass
75%

Practice checkpoints explain every answer. This separate exam is the assessment that issues the certificate.

SQL and databases for testers — specimen certificate

Payments Signal

Specimen — not issuedCertificate of achievement

This certifies that

Your name here

has successfully passed the timed, server-marked exam for

SQL and databases for testers

Assessed domains

SQL and databases for testers

Specimen — nothing to verify

Assessment result

Not sat

Issued

Not issued

Syllabus as at

Not sat

Credential ID

None issued

Specimen — nothing to verify

paymentssignal.com/certificates

A blank specimen, shown so you can see the document before you sit for it. Nobody holds this, no exam was sat for it, and it is not an issued credential. A real one is issued by Payments Signal after an open-book timed exam. It is not accredited by any bank, payment scheme, standards body or awarding organisation.

  1. 0112 MIN
    Databases for testersBehind the screen sits a database. Learn its tables, rows and keys so you know what the app really stored and what a fault there looks like.AFTER: How the web works, for testers
  2. 0216 MIN
    Tables, rows, columns and types: what to read before you testBefore any query, see what the database holds.AFTER: Databases for testers
  3. 0315 MIN
    Reading an entity-relationship diagramAn ERD shows the tables of a database and how they link. Learn to read one to plan tests and write better data queries.AFTER: Databases for testers
  4. 0414 MIN
    Looking at data with SQL SELECTA select query only looks and never changes. With a few clauses a tester can find one row, count rows, spot repeats and find rows with no match.AFTER: Databases for testers
  5. 0515 MIN
    SQL (Structured Query Language) filtering, sorting and totals for testersMost checks are a filter and a count. Learn WHERE with AND, OR, IN, BETWEEN and LIKE, then ORDER BY, LIMIT, DISTINCT and the five totals.AFTER: Looking at data with SQL SELECT
  6. 0616 MIN
    Patterns, lists, ranges and aliases: LIKE, IN, BETWEEN and ASCheck data by a pattern, a list or a range, give columns short names, and learn the order a query really runs in, so your checks give the answer you meant.AFTER: SQL (Structured Query Language) filtering, sorting and totals for testers
  7. 0715 MIN
    NULL: the value that is not a valueNULL means unknown or missing. It breaks tests that look simple. Learn how NULL behaves in comparisons, counts and constraints.AFTER: Looking at data with SQL SELECT
  8. 0815 MIN
    SQL (Structured Query Language) CRUD (create, read, update, delete) for testers: INSERT, SELECT, UPDATE and DELETEAlmost every app action is one of four database actions. Learn the four SQL (Structured Query Language) statements and what each one should leave behind.AFTER: Looking at data with SQL SELECT
  9. 0916 MIN
    Totals in plain words: count, SUM (add up), AVG (average), MIN (smallest) and MAX (largest)Learn the five total functions, what each does with missing values, what they return when no row matches, and how to check a total shown on a screen against a trusted count.AFTER: NULL: the value that is not a value
  10. 1016 MIN
    Aggregation in depth: HAVING, distinct counts and subtotalsA count on a screen can mean rows, values or people. Learn where a filter goes before or after grouping, how a distinct count differs, and how to check subtotals.AFTER: Totals in plain words: count, SUM (add up), AVG (average), MIN (smallest) and MAX (largest)
  11. 1115 MIN
    Joins and grouping: check data across tablesData often sits in several tables. A join puts rows side by side and GROUP BY counts them. Learn the checks that catch missing and doubled rows.AFTER: Looking at data with SQL SELECT
  12. 1216 MIN
    Join types in depth: what each join keeps, and what to testA screen that lists tasks with owners hides a join. Learn what inner, left and full joins keep or drop, so you can predict row counts and spot missing rows.AFTER: Joins and grouping: check data across tables
  13. 1316 MIN
    Join fan-out: when a total on the screen is too bigA join can repeat a row once for each match, and a sum then counts it again. Learn to state the table grain, spot a wrong total, and test the cases that expose it.AFTER: Join types in depth: what each join keeps, and what to test
  14. 1416 MIN
    Anti-joins and the NOT IN trap: finding rows with no matchWhich users have no task? Learn three ways to ask, why one can return nothing when a null is present, and how to test a no-match report.AFTER: NULL: the value that is not a value
  15. 1514 MIN
    SQL (Structured Query Language) UNION, UNION ALL, INTERSECT and EXCEPT for testersSometimes you need to join two result lists or find what is in one and not the other. Learn the four set operators and the count traps.AFTER: Looking at data with SQL SELECT
  16. 1615 MIN
    Subqueries and window functions: find the odd row outSome data checks need a query inside a query, or a running comparison across rows. Learn the two tools that answer questions like latest per user and second highest.AFTER: Joins and grouping: check data across tables
  17. 1716 MIN
    case: labels and buckets in a query, and how to test themLearn how case turns values into labels or buckets, what it returns when nothing matches, and how to test the edges of each rule so a label on a screen is never silently wrong.AFTER: SQL (Structured Query Language) filtering, sorting and totals for testers
  18. 1816 MIN
    CREATE, ALTER and DROP: how tables are made, changed and removedLearn what the three table statements do, what to test when a table is changed, and why a drop needs a backup and a check of what depends on it.AFTER: SQL (Structured Query Language) CRUD (create, read, update, delete) for testers: INSERT, SELECT, UPDATE and DELETE
  19. 1915 MIN
    Database constraints: rules the data must obeyA constraint is a rule the database enforces, such as not empty, unique or linked. Learn to test the rule at the database as well as in the app.AFTER: Databases for testers
  20. 2016 MIN
    Indexes and views: faster lookups and saved queriesLearn what an index does and costs, what a view is, and what a tester checks: that an index does not change answers, and that a view shows current data.AFTER: Looking at data with SQL SELECT
  21. 2116 MIN
    SQL (Structured Query Language) injection: what it is and how a tester checks for itSee how text typed into a form can become part of a query, why a parameterised query stops it, and what a tester tries safely on a test site and reports without harm.AFTER: Looking at data with SQL SELECT
  22. 2216 MIN
    Finding duplicates and orphan rows with a query, as a testerAfter a save, an import or a move, ask the database two questions: is anything there twice, and does anything point at nothing? Learn both checks and how to report them.AFTER: Looking at data with SQL SELECT
  23. 2316 MIN
    Window functions in depth: frames, lag and lead, and the latest rowMany reports show a running total, a change since yesterday or the latest item for each user. Learn how a frame of rows works so you can build data that tests them.AFTER: Subqueries and window functions: find the odd row out
  24. 2415 MIN
    Stored procedures and triggers: logic inside the databaseSome rules run inside the database as stored procedures and triggers. Learn how to test code you cannot see on the screen.AFTER: Databases for testers
  25. 2518 MIN
    Database transactions, ACID and isolation: testing for half-saved dataA save that is half done leaves bad data. Learn what a transaction promises and how to test for half-saved data when steps fail or two users act at once.AFTER: Databases for testers · Concurrency and race-condition testing ideas · Looking at data with SQL SELECT · SQL (Structured Query Language) CRUD (create, read, update, delete) for testers: INSERT, SELECT, UPDATE and DELETE
  26. 2615 MIN
    Setting up and cleaning test data with SQL (Structured Query Language)Tests need known data to start from and a clean state afterwards. Learn to insert, update and remove test data safely.AFTER: Test data and masking
  27. 2716 MIN
    Generating test data with a queryTyping a few rows is fine for one check. A search, a report or a limit needs hundreds. Learn how a query can make rows, dates and names, and how to clean them up.AFTER: SQL (Structured Query Language) CRUD (create, read, update, delete) for testers: INSERT, SELECT, UPDATE and DELETE
  28. 2814 MIN
    Checking data after an actionAfter an action, the screen can look right while the stored data is wrong. Compare the two, and hunt for repeats, missing links and moved data that no longer matches.AFTER: Looking at data with SQL SELECT