Skip to content

Commit

Permalink
[ch-dev] fix lab 5.1.2 answer
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusa committed May 29, 2024
1 parent a73fa2b commit 94e193f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion developer/05_analyzing_data/lab_5.1.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ ORDER BY price desc;
--Step 2:
SELECT count()
FROM uk_price_paid
WHERE price > 1_000_000;
WHERE
price > 1_000_000
AND date >= toDate('2022-01-01') AND date <= toDate('2022-12-31');

--Step 3:
SELECT uniqExact(town)
Expand Down

0 comments on commit 94e193f

Please sign in to comment.