Answers for "update with condition mysql"

SQL
0

update if else mysql

UPDATE prices
SET final_price= CASE
   WHEN currency=1 THEN 0.81*final_price
   ELSE final_price
END
Posted by: Guest on August-10-2021
0

how to update rows from a table when certain conditions are met in mysql

UPDATE table_name
SET column1 = value1, column2 = value2
WHERE condition <= condition AND condition != condition;
Posted by: Guest on May-15-2020

Code answers related to "update with condition mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language