Fügen Sie eine SQL -Spalte mit Wert ab, abhängig von anderen Spaltendaten

UPDATE table
SET col = new_value
WHERE col = old_value
AND other_col = some_other_value;

UPDATE table
SET col = new_value
WHERE col = old_value
OR other_col = some_other_value;
Ill Iguana