WebDev Module 2 > sql-update > Flashcards
How do you update rows in a database table?
update “products”
set “price” = 100;
Why is it important to include a where clause in your update statements?
HOWEVER there is a serious problem with this query as it would update every row in the table!