I want to set a field in my table based on another field in the table.
This is the functionality that I want:
set result = Win if ((select status from tableY) like '%Won%')
set result = Loss if ((select status from tableY) like '%lost%')
This does not compile… How do I get the correct functionality?
1 Answer