question 300 Packaging & Databases · hard
Predict: a with conn: inside a with conn:
take uses with conn: to make its update safe, and one caller wraps it in its own with a: block. Predict exactly what this program prints. Note which values the second connection, b, can see.
Watchthe CHECK constraint, which block rolls back what, and what
b can see before a commit