Reason: Revenue movement sub-queries join on customer_id and filter by paid_at date ranges.
Category: database