devops-exercises/topics/sql/improve_query.md
abregman 99c4e02ecf Rename exercises dir
Name it instead "topics" so it won't be
strange if some topics included "exercises" directory.
2022-08-02 01:53:56 +03:00

11 lines
147 B
Markdown

## Comparisons vs. Functions
1. Improve the following query
```
SELECT count(*)
FROM shawarma_purchases
WHERE
YEAR(purchased_at) == '2017'
```