Fix typos
This commit is contained in:
parent
76ce17693e
commit
c8b6ec6d96
|
@ -264,7 +264,7 @@ There are five important clauses: `SELECT`, `FROM`, `WHERE`, `ORDER BY`, and `GR
|
|||
:
|
||||
|
||||
[^databases-4]: Confusingly, depending on the context, `SELECT` is either a statement or a clause.
|
||||
To avoid this confusion, we'll generally use query instead of `SELECT` statement.
|
||||
To avoid this confusion, we'll generally use `SELECT` query instead of `SELECT` statement.
|
||||
|
||||
[^databases-5]: Ok, technically, only the `SELECT` is required, since you can write queries like `SELECT 1+1` to perform basic calculations.
|
||||
But if you want to work with data (as you always do!) you'll also need a `FROM` clause.
|
||||
|
@ -597,7 +597,7 @@ flights |>
|
|||
)
|
||||
```
|
||||
|
||||
In SQL, the `GROUP BY` clause is used exclusively for summaries so here you can see that the grouping has moved to the `PARTITION BY` argument to `OVER`.
|
||||
In SQL, the `GROUP BY` clause is used exclusively for summaries so here you can see that the grouping has moved from the `PARTITION BY` argument to `OVER`.
|
||||
|
||||
Window functions include all functions that look forward or backwards, like `lead()` and `lag()` which look at the "previous" or "next" value respectively:
|
||||
|
||||
|
|
Loading…
Reference in New Issue