SQLQuokka
Start practicing
QuestionsLearnSandboxFeaturesRoadmapFAQ

Inactive 2024 Signups

Unsolved

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.

SQL Query Editor (Ctrl+Enter to run)
0 characters · Valid
Canonical Solution Official

Official Solution is Hidden

Try solving the question with the schema explorer and hints first. When ready, reveal the verified canonical query and step-by-step logic breakdown.

Community Q&A & Discussion

Ask questions, share alternate queries, and explore solutions

0 comments
Asked By:
🏢 Amazon🏢 Shopify

Submission History

Your recent query executions and answer checks

Execution Pipeline:
FROM customers
Full source dataset
8 rows total
Ready. Type a query to see live execution.
Clause: Auto-Sync · AlaSQL Engine