diff --git a/databases.qmd b/databases.qmd index 3448039..3c889f3 100644 --- a/databases.qmd +++ b/databases.qmd @@ -256,7 +256,7 @@ options(dplyr.strict_sql = TRUE) The top-level components of SQL are called **statements**. Common statements include `CREATE` for defining new tables, `INSERT` for adding data, and `SELECT` for retrieving data. -We will on focus on `SELECT` statements, also called **queries**, because they are almost exclusively what you'll use as a data scientist. +We will focus on `SELECT` statements, also called **queries**, because they are almost exclusively what you'll use as a data scientist. A query is made up of **clauses**. There are five important clauses: `SELECT`, `FROM`, `WHERE`, `ORDER BY`, and `GROUP BY`. Every query must have the `SELECT`[^databases-4] and `FROM`[^databases-5] clauses and the simplest query is `SELECT * FROM table`, which selects all columns from the specified table