PostgreSQL - Joins in PostgreSQL
How can you combine
LATERAL joins with aggregate functions to find the average order amount per customer, including customers with no orders?