Sign in
Log inSign up

Update a row multiple times MySQL

Default profile photo
Anonymous
·Feb 1, 2019

Hi all,

Is it possible to update a row multiple times in MySQL?

Ex: there is an array containing values ['a','b','c']

  1. Check 'a' and 'b' are present in the column if the value present don't update else update a row.

update table_name set column = find(a , b and c in column then update) where condtion.