SQL Case File: 008

Transactions & Concurrency

Two individually valid account updates produce an invalid final balance when they run together.

  • Answer Space: predict the SQL result before execution.
  • Problem Space: inspect tables, rows, columns, keys, and relationships.
  • Decision Space: choose the relational operations that prove the answer.