Skip to content

Commit

Permalink
Merge pull request #7
Browse files Browse the repository at this point in the history
Add the first page for the `JOIN` series
  • Loading branch information
Bilbottom authored Apr 7, 2024
2 parents a4e646c + cc5eb6f commit eedb0e1
Show file tree
Hide file tree
Showing 9 changed files with 481 additions and 79 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![SQL Server](https://img.shields.io/badge/SQL%20Server-2022-teal.svg)](https://www.microsoft.com/en-gb/sql-server/sql-server-downloads)
[![PostgreSQL](https://img.shields.io/badge/PostgreSQL-15.4-teal.svg)](https://www.postgresql.org/download/)
[![SQLite](https://img.shields.io/badge/SQLite-3.43-teal.svg)](https://www.sqlite.org/index.html)
[![DuckDB](https://img.shields.io/badge/DuckDB-0.10-teal.svg)](https://duckdb.org/)
[![DuckDB](https://img.shields.io/badge/DuckDB-0.9-teal.svg)](https://duckdb.org/)

</div>

Expand Down
42 changes: 21 additions & 21 deletions coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions docs/everything-about-joins/everything-about-joins.md
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. ...
5 changes: 5 additions & 0 deletions docs/everything-about-joins/syntax/filtering-joins.md
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.
Loading

0 comments on commit eedb0e1

Please sign in to comment.