直接上代码 SELECT dt,round(cnt/product_cnt,3)sale_rate,round(1-cnt/product_cnt,3)unsale_rate FROM (SELECT distinct date(event_time)dt, (SELECT...