Your question is SQL for Inactive Customers. Start with the requirements and the two tables on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Albertsons for U needs a customer re-engagement list for accounts that have not placed an order recently. Using the data below and 2026-08-29 as the reporting date, write a PostgreSQL query to identify customers with no order in the last 90 days.
customer_id ascending.| Column | Type | Description |
|---|---|---|
| customer_idPK | INTEGER | Unique customer identifier |
| customer_name | VARCHAR(100) | Customer's full name |
| VARCHAR(255) | Customer email address |
| Column | Type | Description |
|---|---|---|
| order_idPK | INTEGER | Unique order identifier |
| customer_id | INTEGER | Associated customer identifier |
| order_date | DATE | Date the order was placed |