Professional Documents
Culture Documents
Documet
Documet
Documet
PFS_to_PFS
Environments
RLS
RLE
PFS to RLE | LFS TO RLE
PFS | LFS
PFS to PFS | LFS TO LFS
initial count
after running initial count sql script we fill initial count file
Canada Campaign:
1.We only have Champion
2.Split Data by language French and English
3.For Canada post matrix is not used
NA Campaign:
we will get brief as 1.Heavy 2.Medium 3.Light
Split into 1.Champion 2.Challenger (accordint to split be provided by client)
2 matrix
1.Pre-Matrix:= made before running initial count
2.Post-Matrix:= made after running final count
important points:
temperory tables are used in this project which are dropped after sql session
pivot tables are important
PPDM - Champion
PPDL - Challenger
2.Bulk Buyers
6th position B then Bulk Buyers
3.Clean
1.sixth position c
1. if 5th position 0 then not likely to churn
2. if 5th position L then likely to churn
4.Control Groups
5th position Has C then control group
Clean LTC
Select customerid into #Group from #WithGroupsWork where ChurnScore = 1 and
customerid in (select mstr_customer_id from #RetainOffer where offer = '0%') and
groupid like 'PPDOOC__';
clean NLTC
Select customerid into #Group from #WithGroupsWork where ChurnScore = 0 and
customerid in (select mstr_customer_id from #RetainOffer where offer = '0%') and
groupid like 'PPDOLC__';