Hi All,
I have table in which I have columns such as name, id, type, business group etc
type field has 2 values 'user' or 'approver', there are some name which are both are user as well as approver for same id.
My requirement is to create a two new columns 'isapprover' and 'isuser' which will contain value yes or no.
I was able to create these two columns by using
if type is user put yes in isuser and
if type is approver put yes in isapprover.
Issue: If any name type is both user and approver I need yes and yes value in 'isapprover' and 'isuser' in every row where that name is present for same id.
Any help will be appreciated.
↧