Back Practice ↓

Related Practice & In-Depth Concepts

↑ Read lesson

Task:User 101 is modifying their shopping cart. You must execute three DML commands in order, separated by semicolons. 1) INSERT a new item for user_id 101, product_id 88, with a quantity of 2. You don't need to specify the `id` column, it will auto-increment. 2) UPDATE user 101's cart to change the quantity of product 55 to 3. 3) DELETE product 56 from user 101's cart because they changed their mind.
SQL Query Editor
No results returned. Press Run Query (or Cmd/Ctrl + Enter) to execute.