Snatch any course you want for just $15! Go to “Courses” and find a course ↓
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;