-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the first page for the `JOIN` series
- Loading branch information
Showing
9 changed files
with
481 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Everything about joins | ||
|
||
## About this course | ||
|
||
> [!SUCCESS] | ||
> | ||
> Everything you need to know about SQL joins 🎉 | ||
## The tools/data in this course | ||
|
||
This course will primarily use [DuckDB](https://duckdb.org/) as the database engine, but will also mention [SQLite](https://www.sqlite.org/), [PostgreSQL](https://www.postgresql.org/), [SQL Server](https://learn.microsoft.com/en-us/sql/sql-server/?view=sql-server-ver16), and [Snowflake](https://docs.snowflake.com/). | ||
|
||
The data will be made up for the examples. | ||
|
||
## Outline | ||
|
||
1. **Syntax** | ||
1. SQL-92 rant (ANSI-SQL join syntax) | ||
2. Join fundamentals: `INNER`, `LEFT` (`RIGHT`), `FULL`, `CROSS` | ||
3. More fundamentals: `USING`, `NATURAL` | ||
4. [The "timestamp" join: `ASOF`](syntax/timestamp-joins.md) | ||
2. **Under the hood** | ||
1. ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# The "filtering" joins (`SEMI`, `ANTI`) | ||
|
||
> [!SUCCESS] | ||
> | ||
> The `SEMI` and `ANTI` joins are slightly different from typical joins because they're used to _filter_ the rows from the left table based on the presence or absence of a match in the right table. |
Oops, something went wrong.