|
@@ -331,7 +331,7 @@ select dt,book,cost,
|
|
|
if(follow_user=0,0,reg_order_user7/follow_user) day7_avg_act_rate ,
|
|
|
if(reg_order_user7=0,0,cost/reg_order_user7) day7_avg_act_per_cost,
|
|
|
if(follow_user=0,0,reg_order_user30/follow_user) day30_avg_act_rate,
|
|
|
- if(reg_order_user30=0,0,cost/reg_order_user30) day30_avg_act_cost,
|
|
|
+ if(reg_order_user30=0,0,cost/reg_order_user30) ay30_avg_act_cost,
|
|
|
if(reg_order_user=0,0,cost/reg_order_user) act_per_cost
|
|
|
from dw_daily_channel where channel='{channel}' and dt>='{start}' and dt<='{end}') a
|
|
|
left outer join (
|