with k as(select t3.uid,ctr,cvr,rk1,rk2 from (select uid,ctr,row_number()over(order by ctr desc) as rk1 from (select uid,round(sum(is_click)/count(is_click),3) as ctr from user_res_event_log_tb where rid like 'ad%' and month(event_date) = 8 and year(event_date) =2022 group by uid order by ctr desc,u...