Skip to content

Commit

Permalink
Update lab_3.2.sql (#31)
Browse files Browse the repository at this point in the history
As flagged by Don Zur in [clickhouse-academy](https://clickhousedb.slack.com/archives/C049M59EZ28/p1733016020194539).
  • Loading branch information
pmusa authored Jan 9, 2025
1 parent 2ec0bb5 commit 7cb236b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions developer/03_modeling_data/lab_3.2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ FROM crypto_prices
WHERE crypto_name = 'Bitcoin';

/*
* Only a single granule was processed. As crypto_name is a primary key,
* ClickHouse use it to optmize the query.
* Only a very small number of granules was processed. As crypto_name is a
* primary key, ClickHouse use it to optmize the query.
*/

--Step 7:
SELECT
avg(price)
FROM crypto_prices
WHERE crypto_name LIKE 'B%';
WHERE crypto_name LIKE 'B%';

0 comments on commit 7cb236b

Please sign in to comment.