devops-exercises/exercises/sql/solutions/improve_query.md
2021-08-13 09:23:50 +03:00

10 lines
161 B
Markdown

## Comparisons vs. Functions - Solution
```
SELECT count(*)
FROM shawarma_purchases
WHERE
purchased_at >= '2017-01-01' AND
purchased_at <= '2017-31-12'
```