ION's Fidessa platform records customer orders that are used for trading activity analysis. The operations team needs a customer-level summary of order value.
Write a PostgreSQL query that calculates the total order amount for each customer in customer_orders.
order_amount for each customer, treating a customer with only NULL amounts as having a total of zero.| Column | Type | Description |
|---|---|---|
| order_idPK | INTEGER | Unique order identifier |
| customer_name | VARCHAR(100) | Customer name |
| order_amount | NUMERIC(12,2) | Monetary value of the order |
| order_date | DATE | Date the order was submitted |