Multi-join cartesian product inflates totals

Code reviewHard25 minSnowflake and Databricks style

Your task

Review this SQL that reports revenue per customer.

Each order has multiple payments and each customer has many orders.