April 2026
Beginner
493 pages
23h 2m
English
Within the scope of this book, when we talk about an entity, we’re mostly referring to a database table time. In other words, to express a database table within a diagram, we’ll draw an entity.
Let’s assume that we have a retail store selling different categories of products—such as apparel, food, stationary, and electronics. To keep track of our stocks, the natural initial step would be to create a database table to define these categories. Table A.1 demonstrates what the contents of such a table might look like.
|
id |
description |
|---|---|
|
APP |
Apparel |
|
FOO |
Food and drinks |
|
STA |
Stationary |
|
ELE |
Electronics |
Table A.1 Sample Table of Product Categories
In this example, we’ve set the id column as unique texts ...
Read now
Unlock full access