先找到10月的新客户及其所下订单, 这里用的窗口函数,用group by的话要麻烦一点 select DISTINCT uid, first_value(order_id) over (partition by uid order by event_time) as order_id, first_value(event_time) over (partition by uid order by event_time) as first_date, first_value(total_amount) over (partition by uid order by event_time) as...