select round(avg(total_amount),1), round(avg(cost),1) from ( select order_id, uid, total_amount, event_time from ( select order_id, uid, total_amount, event_time, row_number() over ( partition b...