Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Inserting data
Modifying data
Deleting data
CRUD
16. Exercise 2 – Update

Instruction

Excellent! The menu is getting better and better. Are you ready for another exercise?

Exercise

Doberge Cake (ID 3) in our table is too expensive, so customers don't want to buy it. Let's modify the price to 10.

Stuck? Here's a hint!

Type:

UPDATE dish 
SET
  price = 10 
WHERE id = 3;