10/30
Part 2 of 5 · Fixtures and countsLearn and do

Sum the item lines to one row per order before the join

The fix changes the many side's grain before the join.

Predict

A quick patch keeps the item join and writes SUM(DISTINCT o.total_cents). Austin's orders are 2500, 1800 and 1800. What revenue does Austin get?

Pick an answer above to see the rest