I'm trying to change a field value by the next conditional SQL script from a PostGIS database in QGIS Field Calculator:
case when "Field_1" = 'YES' then "Field_2" = 'True' else "Field_2" = 'False' end
but it returns
I've tried with
'true' as well but it didn't work.
Is there anyone who knows how to solve it?