Hello, I have a table with four fields, three of which are integers.
The fields are called for instance, 'letter', 'n1', 'n2', 'n3'
Let's say that my table set looks like this:
A 1 2 3
B 2 3 4
C 3 4 5
I require an operation that updates any number in all columns to be a new number. Example, set 3 to zero and we'd get:
A 1 2 0
B 2 0 4
C 0 4 5
I know how to do this with three UPDATE statements. I'm sure it can be done in a singular statement. Could someone share 🙂
Thanks in advance!