Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
3. The Customers table – recap
Customer activity
Finding good customers


Good. The other table we'll need in this part is Customers. We've used it before, but this time we'll especially need the LastOrderDate column.


Count the number of customers who placed their most recent order in 2017. Name the column: Count2017Customers.

Stuck? Here's a hint!

Use the following WHERE clause:

WHERE LastOrderDate >= '20170101' 
  AND LastOrderDate <  '20180101'