Exercise · Set operations and CTEs · lesson 9 of 10
Exercise: September, but not October
The chain wants to remind customers who stopped coming about itself. Write a query that returns the customers who ordered in September 2026 and never ordered in October: columns id and name from the customers table.