Hi, i have a list of same category but different sub line item. I would like to categories and create new column with case condition. For example below, case when amount found 0.00 i would like to create additional column and apply all as "ZeroFound".
insert into #testing values('typeA','0.00','1A')
insert into #testing values('typeA','20.99','1B')
insert into #testing values('typeA','0.80','1C')
insert into #testing values('typeA','1000','1D')
I don't really see a practical purpose to this unless it's an exercise from a study course or, perhaps, a test for such a course or an interview question.