Check out example codes for "update table in mysql w3". It will help you in understanding the concepts better.

Code Example 1

UPDATE table_name
SET column1 = value1, column2 = value2, ...
WHERE condition;

Code Example 2

UPDATE Customers
SET ContactName='Juan'
WHERE Country='Mexico';

Learn ReactJs, React Native from akashmittal.com