请统计零食类商品中复购率top3高的商品。 1.题目中有三个表,很多人可能立马感觉很麻烦了,而实际上我们要求复购率,需要得只有 uid,event_time,product_id这三项得信息,因此我们考虑先用with t as 将他们提炼出来再进行计算。 with t as (select a.product_id,b.uid,b.event_time as dt from tb_product_info as a join tb_order_detail as c on a.product_id=c.product_id join tb_order_overall as b on c.ord...