Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
Community & Social
Windows Tipps & SecurityBeta-Update: Diese Funktionen testet Microsoft für Windows 11 v25H2(02.10.2026 um 21:16 Uhr)
••
IT Security NachrichtenTrickreicher Angriff knackt RSA-Signaturen – ein bisschen(02.10.2026 um 21:22 Uhr)
•
IT NachrichtenMicrosoft adds support for Linux containers in WSL(02.10.2026 um 09:25 Uhr)
•••••
IT NachrichtenApple sounds the alarm on AI agents and 'Full Disk Access'(02.10.2026 um 21:22 Uhr)
••
Windows Tipps & SecurityBeta-Update: Diese Funktionen testet Microsoft für Windows 11 v25H2(02.10.2026 um 21:16 Uhr)
••
IT Security NachrichtenTrickreicher Angriff knackt RSA-Signaturen – ein bisschen(02.10.2026 um 21:22 Uhr)
•
IT NachrichtenMicrosoft adds support for Linux containers in WSL(02.10.2026 um 09:25 Uhr)
•••••
IT NachrichtenApple sounds the alarm on AI agents and 'Full Disk Access'(02.10.2026 um 21:22 Uhr)
••
Intelligence View
⚡ tsecurity.de Intelligence

Database Normalization: From 1NF to 3NF

n this blog, we’ll understand how to normalize a database table step-by-step from 1NF → 2NF → 3NF using clear SQL examples and outputs. We’ll start from a singl…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!

n this blog, we’ll understand how to normalize a database table step-by-step from 1NF → 2NF → 3NF using clear SQL examples and outputs.



We’ll start from a single unnormalized table containing student, course, and instructor data, and then progressively decompose it to remove redundancy and anomalies.



Identify Anomalies

Insertion Anomaly: We can’t add a new student without assigning a course.

Update Anomaly: If Dr. Kumar changes his phone number, multiple rows must be updated.

Deletion Anomaly: If Arjun drops all courses, his details will be deleted too.



First Normal Form (1NF)



Create a table





Insert data





Output





Second Normal Form (2NF)



Remove partial dependencies.

Create tables separately











Insert values into the respected table





output





next





output





next





output





next





output





Third Normal Form (3NF)



Remove transitive dependencies — InstructorPhone depends on Instructor, not directly on Course.



In this case, the InstructorPhone depends on Instructor, not directly on Course.

So we already separated Instructors, which makes this 3NF compliant.



Tables in 3NF:



1.Students(StudentID, StudentName)

2.Instructors(Instructor, InstructorPhone)

3.Courses(CourseID, CourseName, Instructor)

4,StudentCourses(StudentID, CourseID)



Query Using JOINs





This structure ensures:

No redundant instructor or course info

Easy updates and clean data relationships

Faster JOIN queries in real databases



We achieved a clean, normalized schema that eliminates anomalies and improves consistency.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Database Normalization: From 1NF to 3NF

Thematisch verwandte Begriffe: Database, Normalization, From · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag