Check out example codes for "how to update an attribute in MySQL". It will help you in understanding the concepts better.

Code Example 1

UPDATE table_name
SET variable = 'changed field', variable = 'another changed field'
WHERE firstline_name = 1;

Learn ReactJs, React Native from akashmittal.com