Fix a typo and grammar in intersect

This commit is contained in:
Josh Rodriguez 2024-04-13 11:02:08 -07:00 committed by GitHub
parent b6cfba33f1
commit 087d91d21d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ The condition could be any expression based on your requirements.
Here is a simple example that intersects the numbers 1 to 10 with the numbers 3 to 8:
```sql
SELECT number FROM numbers(1,10) INTERSECT SELECT number FROM numbers(3,6);
SELECT number FROM numbers(1,10) INTERSECT SELECT number FROM numbers(3,8);
```
Result:
@ -108,7 +108,7 @@ INSERT INTO holdings VALUES
('Bitcoin Diamond', 5000);
```
We can use `INTERSECT` to answer questions like **"Which coins do we own have traded at a price greater than $100?"**:
We can use `INTERSECT` to answer questions like **"Which coins do we own that have traded at a price greater than $100?"**:
```sql
SELECT crypto_name FROM holdings