chapter four
4 Entities and attributes
In this chapter
- You start the design and analysis phase in database design.
- You learn about keys and common data types in databases.
- You design your first few entities, identifying their attributes, primary keys, and data types of attributes.
4.1 Overview
In Chapter 3, you walked through an overview of the database design process, and went over the requirements gathering phase for the online store of The Sci-Fi Collective.
Starting from this chapter, you will move to the next database design phase, design and analysis. The first step of design and analysis is data modeling, which aims to generate an entity-relationship (E-R) diagram. In this chapter, you will focus on designing all the required entities for the database of The Sci-Fi Collective online store. By doing so, you will learn about entities, attributes, keys, and data types.