Check out example codes for "update multiple columns in sql". It will help you in understanding the concepts better.

Code Example 1

UPDATE Person.Person
 Set FirstName = 'Kenneth'
    ,LastName =  'Smith'
 WHERE BusinessEntityID = 1

Code Example 2

UPDATE table-name SET column-name = value, column-name = value WHERE condition = value

Learn ReactJs, React Native from akashmittal.com