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.

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.

Entities and attributes

Keys

Data types

String data types: power of personality

Integers: numbering your way to success

Float like a butterfly, decimal like a data queen

Temporal Data Types: Time Flies When You're Querying

Summary