I have a table where I have 5 columns, (BatteryL1, BatteryL2, BatteryR1, BatteryR2 and BatterySize).
I want to update BatterySize, with a value if any one of the above listed columns contains a specific value using something like 'LIKE' in the query.
For example:
UPDATE Customers
SET BatterySize=13
WHERE BatteryL1 LIKE '%13%'
OR BatteryL2 LIKE '%13%'
OR BatteryR1 LIKE '%13%'
OR BatteryR2 LIKE '%13%'
OR BatterySize LIKE '%13%'