Skip to content

The total that doubled after adding a join

A query sums order totals. Adding a join to an order_tags table, to filter by tag, makes the sum much larger although no orders were added.

What happened?