Amazon's lifecycle marketing team wants to send a welcome-back coupon to customers who signed up during calendar year 2024 (from `2024-01-01` through `2024-12-31`, inclusive) and have never placed a purchase. Write an SQL query that returns `customer_id`, `customer_name` and `signup_date` for these customers. Order the results by `signup_date` ascending, then `customer_id` ascending.
Loading…
Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.
Ask questions, share alternate queries, and explore solutions
Your recent query executions and answer checks
This will insert the verified MySQL solution into your editor so you can study how each clause transforms the table.