Answers for "update if else 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

Code answers related to "SQL"

Browse Popular Code Answers by Language