Loading…
Loading…
Twenty-five questions on roles and privileges, row-level security, SQL injection and parameters, transactions and savepoints, error handling across databases, MVCC, isolation levels, lost updates, write skew, row locks and deadlocks, with explanations.
Review quiz for Part 12 (Security and transactions) of the SQL course:
Several questions use the accounts table from the transactions article: account 1 (Asha) has 500.00 and account 2 (Ben) has 100.00, and a CHECK constraint forbids negative balances.
Every question with a query was run on PostgreSQL 17 to confirm its answer. Aim for at least 18 out of 25 before starting Part 13.
Quiz path: step 10. Take the quizzes in this order, after reading each article.
Previous quiz: Database Design and Defining Tables Review (SQL Parts 10 and 11)
Next quiz: Procedural SQL Review (SQL Part 13)
25 questions · pass at 70%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.