我想创建一个更新 sql 语句,该语句可以更新具有多个条件的多行,每行取决于不同的条件,例如:
UPDATE tableName
SET row1_field1=newValue1, Row1_field2=newValue2
WHERE row1_condition1=condition1
AND SET row2_field1=newValue1, row2_field2=newValue2 WHERE row2_condition1=condition1
AND SET row3_field1=newValue1, row3_field2=newValue2 WHERE row3_condition1=condition1