1
I have a table with the column STATURE
This column consists of 3 possible values: NEW, VISUALIZED, DISCARDED
I have a function where I need to implement an SQL row that updates my table and changes all the values in the column STATURE to: DISCARDED
The logic is:
Update in: minhatabela, the column: statuz - where the value NEW for DISCARDED is, and where the value VISUALIZED for DISCARDED is. (at once)
the command I’m using, but it has no effect is:
UPDATE toyota_base SET statuz = 'DESCARTADO' WHERE statuz = 'NOVO' and statuz = 'VISUALIZADO';
All help is welcome. Thank you.
Oops, thank you very much, that’s right...
– Charles Fay