Databases
Database Analogies
Collected by Xiaoying Tu — Textbook Beaulieu, A. (2009). Learning SQL. 2 ed. O'Reilly.
Data storage and indexing
Within-Database
Helps readers understand the mechanism of joining more than two tables
| Symbol | Concept |
|---|---|
| snowball | the "intermediate table" after joining each additional table |
The fact that each additional table is joined with the intermediate resulting table, just like the snowball gets bigger when rolling down the hill.
One way to think of a query that uses three or more tables is as a snowball rolling down a hill. The first two tables get the ball rolling, and each subsequent table gets tacked on to the snowball as it heads downhill. You can think of the snowball as the intermediate result set, which is picking up more and more columns as subsequent tables are joined.
Do you have feedback on this notional machine? Did you find a mistake, or do you have a request for improvement? You can create an Issue on GitHub, where the description is hosted. This way we can see your feedback and address it.
For this, you need a GitHub account. Then follow this link to see the source file of this page. In there, click the ... left of the highlighted line, then pick "Reference in a new issue".