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.

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct