Compute a per-product refund rate using conditional aggregation. Three-way join (product → line-item → order) and a ratio with the float-math float-divide-zero guard.