New: Try Voli The Bear, Fast package manager (and not only) for Windows
SQL
-- Reporting date is frozen at 2026-04-01. Return the name of every churned customer (no order on or after that date, including customers with no orders at all).
SELECT c.name
FROM customers c
JOIN orders o ON o.customer_id = c.id
GROUP BY c.id
HAVING MAX(o.order_date) < '2026-04-01';