Take a look at this Student Class Table

Q: is this a good table design?

Screen Shot 2021-10-20 at 10.35.49 AM.png

Redundancies in StudentClass Table

Coming up with Better Tables

Q: Any way to arrive at the better design more systematically?

Q: Where is the redundancy from?

Can you guess the ? part of the table?

Screen Shot 2021-10-20 at 10.52.46 AM.png

sid → name, addr

dept, cnum → title, unit

Intuition behind Normalization Theory

"Decomposing" StudentClass Table

Functional Dependency (FD)

If 2 tuples have the same X values, their Y values are the same