2.2 Structures
In this section, we’ll learn about database components, which are directly responsible for containing our data. If we imagine the database as an apartment and the schema as a room in that apartment, we’re about to talk about the cabinets, closets, and drawers in the room, which are the structures holding our everyday household items.
2.2.1 Tables
Tables are arguably the very center of the concept of relational databases, and it’s very important to understand them. A big part of SQL revolves around tables, as we’ll see in due course. But no worries—the concept of tables is also one of the easiest ones to grasp!
To understand tables, we can follow a metaphor of spreadsheets. You can imagine a database as a folder on your computer, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access