Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 179 Bytes

improve_query.md

File metadata and controls

9 lines (7 loc) · 179 Bytes

Comparisons vs. Functions

  1. Improve the following query
SELECT COUNT(purchased_at)
FROM shawarma_purchases
WHERE purchased_at BETWEEN '2017-01-01' AND '2017-12-31';