liveBook · Manning

What you will learn in Grokking Relational Database Design

by Michail Tsikerdekis,Qiang Hao

Chapter by chapter

Chapter 1: Introducing databases and SQL

1.1 Overview · 1.2 Relational databases · 1.3 Tables, entities, and primary keys · 1.4 Relational database management systems and SQL · 1.5 Your first SQL query · 1.6 The basics of SQL queries · 1.7 Filtering · 1.8 Aggregation · 1.9 Table and data management · 1.10 Create tables and add data to tables · 1.11 Alter and drop tables · 1.12 Recap

What you learn in chapter 1 →

Chapter 2: Related tables and more SQL

2.1 Overview · 2.2 Related tables · 2.3 Number(s) of shared columns · 2.4 Join data from related tables · 2.5 Types of JOINS · 2.6 WHERE vs. JOIN · 2.7 Revisit table and data management · 2.8 Manage related tables · 2.9 Manage data in related tables · 2.10 Learn more SQL on your own · 2.11 Recap

What you learn in chapter 2 →

Chapter 3: Overview of database design

3.1 Overview · 3.2 Goals of database design · 3.3 Data consistency and integrity · 3.4 Maintainability and ease of use · 3.5 Performance and optimization · 3.6 Data security · 3.7 Scalability and flexibility · 3.8 Overview of the design process · 3.9 Requirement gathering · 3.10 Analysis and design · 3.11 Implementation/integration and testing · 3.12 Key phases of database design · 3.13 The goals of the database · 3.14 Existing databases and other aspects of information management · 3.15 Interviews · 3.16 Recap

What you learn in chapter 3 →

Chapter 4: Entities and attributes

4.1 Overview · 4.2 Entities and attributes · 4.3 Keys · 4.4 Data types · 4.5 String data types: Power of personality · 4.6 Integers: Number your way to success · 4.7 Float like a butterfly, decimal like a data queen · 4.8 Temporal data types: Time flies when you’re querying · 4.9 Recap

What you learn in chapter 4 →

Chapter 5: Relationships

5.1 Overview · 5.2 Entity-relationship diagrams · 5.3 Connect related entities · 5.4 Cardinality · 5.5 Direction and representation · 5.6 One-to-one: A perfect match · 5.7 One-to-many: A love triangle · 5.8 Strong and weak entities · 5.9 Identify strong and weak entities in your database · 5.10 Recap

What you learn in chapter 5 →

Chapter 6: Normalization and implementation

6.1 Overview · 6.2 Normalization · 6.3 There is always a primary key · 6.4 There are no multivalued columns · 6.5 All columns are dependent on a key but nothing else · 6.6 Normalize your database design · 6.7 There is no transitive dependency · 6.8 Normalize your database design: A cycle involving three tables · 6.9 Implementation · 6.10 NOT NULL: Can’t have null-thing to say · 6.11 Primary key: The one and only · 6.12 Foreign key: Playing Cupid · 6.13 Referential actions · 6.14 Unique: Sorry, I’m taken · 6.15 Default to awesome · 6.16 Check: Enforce data decorum · 6.17 Recap

What you learn in chapter 6 →

Chapter 7: Security and optimization

7.1 Overview · 7.2 Security · 7.3 Integrity · 7.4 Confidentiality · 7.5 Storage considerations · 7.6 Redundant tables · 7.7 Categorical data · 7.8 Indexing · 7.9 Why and how to index · 7.10 Indexes for your ER diagram · 7.11 Denormalization · 7.12 How to denormalize · 7.13 Denormalize your database design · 7.14 Recap

What you learn in chapter 7 →

Chapter 8: Database design in the age of generative AI

8.1 Overview · 8.2 Requirements analysis · 8.3 Entities and attributes · 8.4 Entities · 8.5 Attributes · 8.6 Communicate your design · 8.7 Relationships among entities · 8.8 Minimum cardinalities and foreign keys · 8.9 Communicate your design · 8.10 Implementation · 8.11 Constraints · 8.12 Optimization · 8.13 Recap

What you learn in chapter 8 →

Concepts explained in this book

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.