SQLUPDATEDMLtutorial
What is UPDATE in SQL? Modifying rows for beginners
UPDATE is the SQL command for "change data in existing rows". Plain words: what to change, why WHERE is non-negotiable, how to update several columns at once. Before/after tables, beginner pitfalls, a quick recap, and three practice tasks at the end.
PreviousWhat is INSERT in SQL? Adding rows for beginnersNextWhat is DELETE in SQL? Removing rows for beginners
Related articles
Tasks on this topic
Apply a Discount to Action GamesDelete Tours Departing from MoscowSwap the Sex Values for All EmployeesAdd a Test User to the Bug TrackerSeed Test Orders with Different StatusesDelete Old Audit Log Entries
All problem sets →
UPDATEis the command for changing data in rows that already exist. Not inserting new ones, not deleting — modifying what's there.This article is currently in Russian. The full English translation is on the way.