db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

OLD and NEW

RETURNING can show both versions of a row from one UPDATE.

task

Raise price_cents of boots in temp table pr by 10 percent (integer division) and return product_id, the old price and the new price, ordered by product_id.

hints