with t as ( select shift_id,store_id,shift_date,shift_period,required_rider_count,published_at from relief_shifts where shift_date between '2025-08-15' and '2025-08-17' and shift_status = 'filled' ), -- 先找出每个班次+骑手的最早邀约记录 first_invites as ( select shift_id, rider_id, invited_at, responded_at, respons...