I need to change one column, based on two WHERE conditions. How to write this query correctly?
UPDATE MyTable
SET `group_aso` = "REPACK"
WHERE
`REPACK` = "YES" AND `LABEL` = "NO"
OR
SET `group_aso` = "LABEL"
WHERE
`REPACK` = "NO" AND `LABEL` = "YES"