Learningfuze Bootcamp > sql-update > Flashcards
How do you update rows in a database table?
update statementupdate “products” set “price” = 100 where “productId” = 24;
Why is it important to include a where clause in your update statements?
To target specific rows.