Vanguard Personal Investor wants to identify customers who may need re-engagement. Using the customer and order data below, write a PostgreSQL query that finds every customer who has not placed an order during the six-month period ending on 2026-08-29.
Requirements
- Return every qualifying customer, including customers who have never placed an order.
- Include the customer ID, customer name, and their most recent order date across all available history.
- Treat an order with a
NULL order date as not occurring within the six-month period.
- Sort the output alphabetically by customer name, then by customer ID.