select user_id from ec_orders o, ec_shipments s where o.order_id = s.order_id and s.shipment_id = :shipment_id