I have a table with a certain amount of price according to each article, I would like to know how I can subtract a percentage from the price, for example 30%.
I have a table with a certain amount of price according to each article, I would like to know how I can subtract a percentage from the price, for example 30%.
Start with the statement UPDATE
UPDATE Tabla
SET precio = precio * 0.7
WHERE -- las filas que quieras actualizar