Update Rows on a Table
Learn how to use the update command.
We'll cover the following...
Let’s change the value of an attribute for a specific customer now. We’ll use the update
command. For example, if we want to change the name of Maria Foo
to Maria Moo
, then we give the following command:
Press + to interact
update customers set name = 'Maria Moo' where id = 3;
Executing the above query results in the following output:
1
...Access this course and 1400+ top-rated courses and projects.