I am trying to develop a pivot table but unable to get required result. Please see the attached image for required output. I am unable to design the pivot query for the required