Write a SQL query to find the average order value by customer segment.
Use the orders table and include all defined customer segments. Order values that are NULL should not affect the calculated average.
customer_segment and average_order_value.customer_segment.| Column | Type | Description |
|---|---|---|
| order_idPK | INT | Unique order identifier |
| customer_segment | VARCHAR(50) | Customer segment assigned to the order |
| order_value | DECIMAL(10,2) | Monetary value of the order |