Build your own orders and watch a one-to-many JOIN quietly multiply your revenue before you ever call SUM()
Each chip below is one row your query sees after joining to line items — the same order total, repeated once per item.
This runs on a real, self-hosted SQLite engine (WebAssembly) — nothing is sent to a server. Read the full mechanism in Why Does My SQL Query Return the Correct Rows but the Wrong Numbers? and Why Is My SQL SUM() Wrong After a JOIN?