Skip to content

Normalisation · ⁨规范化⁩

English

Why normalise?

Imagine storing every club booking in one table, with the coach repeated on every row: each booking of the Chess club would carry "Mr Ng" again and again.

That repetition causes problems. If Mr Ng leaves, you must update many rows; miss one and the data becomes inconsistent. Normalisation organises tables to remove this kind of redundancy.

中文

为什么要规范化?

设想把每一条社团预约都存在一张表里,教练在每一行都重复一遍:象棋社的每条预约都会一次次地带着“Mr Ng”。

这种重复会带来麻烦。如果 Mr Ng 离开了,你得更新许多行;漏掉一行,数据就不一致了。规范化通过整理表来消除这种冗余。

把含重复数据的宽表拆成两张整洁的表,用一个键关联起来

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩