Skip to content · ⁨ข้ามไปยังเนื้อหา⁩
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.

ไทย

ทำไมต้อง Normalise?

สมมติว่าเก็บการจองคลับทุกประการใน ตารางเดียว โดยมีผู้สอนซ้ำอยู่ในทุกแถว: การจองแต่ละครั้งของChess club จะติด "Mr Ng" ซ้ำๆ ไปเรื่อยๆ

ความซ้ำซ้อนนี้ก่อให้เกิดปัญหา หาก Mr Ng ลาออก คุณต้องอัปเดต หลาย แถว หากพลาดไปหนึ่งบรรทัด ข้อมูลจะไม่สอดคล้องกัน Normalisation จัดระเบียบตารางเพื่อขจัดความซ้ำซ้อนแบบนี้ออก

ตารางกว้างที่มีข้อมูลซ้ำถูกแยกออกเป็นสองตารางเรียบร้อยที่เชื่อมโยงกันด้วย key

Handout · ⁨เอกสารประกอบการเรียน⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP