I have data set in my working table as below.
Code category
1500077 DEFLT
1500077 RELAX
------------------------------------
1500078 DEFLT
1500078 OREX
1500078 LATIN
------------------------------------
1500081 OCTAL
1500081 DEFLT
I need to update DEFLT category from the primary Category. Any category other than DEFLT is considered as primary category.
Result:
Code Category
1500077 RELAX ( DEFLT)
1500077 RELAX
1500081 OCTAL
1500081 OCTAL (DEFLT)
Exception: if there are more than 1 primary category then update NOT required.
1500078 DEFLT
1500078 OREX
1500078 LATIN
Greatly appreciate your help.
Code category
1500077 DEFLT
1500077 RELAX
------------------------------------
1500078 DEFLT
1500078 OREX
1500078 LATIN
------------------------------------
1500081 OCTAL
1500081 DEFLT
I need to update DEFLT category from the primary Category. Any category other than DEFLT is considered as primary category.
Result:
Code Category
1500077 RELAX ( DEFLT)
1500077 RELAX
1500081 OCTAL
1500081 OCTAL (DEFLT)
Exception: if there are more than 1 primary category then update NOT required.
1500078 DEFLT
1500078 OREX
1500078 LATIN
Greatly appreciate your help.