• this code is not working

    it snot necessary that all 5 condition will exists for that particular ID, there can be 3 or 4 ,not all 5

    in that case it has to go with order