|
@@ -24,7 +24,7 @@ sum(reg_order_user) reg_user,
|
|
|
sum(reg_order_count) reg_count,
|
|
|
sum(first_order_amount) first_amount,
|
|
|
sum(reg_order_amount) reg_amount,
|
|
|
-round(sum(first_order_amount)/sum(cost),4) frist_roi,
|
|
|
+round(sum(first_order_amount)/sum(cost),4) first_roi,
|
|
|
round(sum(reg_order_amount)/sum(cost),4) roi
|
|
|
from dw_channel where 1=1 {op1} {op2} {op3} GROUP BY channel,book,pitcher
|
|
|
{op4}"""
|