|
@@ -732,7 +732,6 @@
|
|
case when photo_show!=0 then concat(round(sum(a.photo_click)/sum(a.photo_show) * 100 ,2),'%') else 0 end as
|
|
case when photo_show!=0 then concat(round(sum(a.photo_click)/sum(a.photo_show) * 100 ,2),'%') else 0 end as
|
|
'photoClickRatio', -- 封面点击率
|
|
'photoClickRatio', -- 封面点击率
|
|
case when aclick!=0 then concat(round(sum(a.bclick)/sum(a.aclick) * 100 ,2),'%') else 0 end as 'actionRate', --
|
|
case when aclick!=0 then concat(round(sum(a.bclick)/sum(a.aclick) * 100 ,2),'%') else 0 end as 'actionRate', --
|
|
- 行为率
|
|
|
|
(case
|
|
(case
|
|
when sum(a.photo_show) != 0
|
|
when sum(a.photo_show) != 0
|
|
then round((sum(a.charge) / sum(a.photo_show)) * 1000,2)
|
|
then round((sum(a.charge) / sum(a.photo_show)) * 1000,2)
|
|
@@ -1015,8 +1014,7 @@
|
|
ROUND(IFNULL(sum(a.charge)/sum(a.activation),0),2) as 'activationCost', -- 激活成本
|
|
ROUND(IFNULL(sum(a.charge)/sum(a.activation),0),2) as 'activationCost', -- 激活成本
|
|
case when photo_show!=0 then concat(round(sum(a.photo_click)/sum(a.photo_show) * 100 ,2),'%') else 0 end as
|
|
case when photo_show!=0 then concat(round(sum(a.photo_click)/sum(a.photo_show) * 100 ,2),'%') else 0 end as
|
|
'photoClickRatio', -- 封面点击率
|
|
'photoClickRatio', -- 封面点击率
|
|
- case when aclick!=0 then concat(round(sum(a.bclick)/sum(a.aclick) * 100 ,2),'%') else 0 end as 'actionRate', --
|
|
|
|
- 行为率
|
|
|
|
|
|
+ case when aclick!=0 then concat(round(sum(a.bclick)/sum(a.aclick) * 100 ,2),'%') else 0 end as 'actionRate',
|
|
(case
|
|
(case
|
|
when sum(a.photo_show) != 0 and sum(a.photo_show) is not null
|
|
when sum(a.photo_show) != 0 and sum(a.photo_show) is not null
|
|
then round((sum(a.charge) / sum(a.photo_show)) * 1000,2)
|
|
then round((sum(a.charge) / sum(a.photo_show)) * 1000,2)
|