FDs and Table Decomposition




CS157a

Chris Pollett

Sep 23, 2019

Outline

Introduction

Armstrong's Axioms

Minimal Basis of FDs

Projecting FDs

Example Projecting FDs

Quiz

Which of the following is true?

  1. Any relational constraint of the form `R = \emptyset` can be rewritten as a constraint of the form `R subseteq S` for some relation `S`.
  2. Constraints of the form `R subseteq S` cannot express relational integrity constraints.
  3. `{A_1, ..., A_n}^+` adds to the list of attributes in `{A_1, ..., A_n}` only those implied by trivial FDs.

Design of Relational DB Schemas

Anomalies to Avoid in DB Design

Decomposing Relations

Boyce-Codd Normal Form (BCNF)