I’m trying to do a Join.
From Items Table which has Product Information like
ItemID, UpcCode, Facing, ItemNameArabic, ShelfCapacity everything Except SERVICETYPE
Joining to table Schedule which has UpcCode & ServiceType.
As you see in the picture there are two rows for almost the same data except one states the ServiceType (Either VMF or SRR )
What I want is Number of Rows should decrease. If you refer to the picture.
NESCAFE GOLD 50G is repeated twice. Once for VMF & SRR. I just want it to appear once by using either approach below
Either it is like 2 Columns [Boolean Columns]
a) VMF Column [If value is VMF then ‘Yes’ Or Else ‘NO’]
b) SRR Column [If value is SRR then ‘Yes’ Or Else ‘NO’]
Or
One Column [ServiceType]
Where it checks if it has SRR only SRR appears or else Vmf Appears
In any of the above desired result will decrease my number of Rows
Thank You

I would like to thank @nestor for the wonderful answer on link