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

147 B

Comparisons vs. Functions

  1. Improve the following query
SELECT count(*)
FROM shawarma_purchases
WHERE
  YEAR(purchased_at) == '2017'