Thanks for re-reading. .
The queries are all written correctly, doesn't matter if I use all invoices/remits, 200K in each query, or the subtotaling query which selects one invoice, with two rows, and the select query returns two rows with $400 or zero in each row, but when the group by and sum...