Loading Page Content...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
Preparing courses, live labs, and learning resources.सामग्री लोड हो रही है, कृपया प्रतीक्षा करें...
Database Normalization is a systematic theoretical technique developed by Dr. Edgar F. Codd to evaluate and refine relational table structures. Normalization organizes database schemas into progressive levels called Normal Forms (1NF, 2NF, 3NF, BCNF).
The journey to an enterprise-grade schema begins with the First Normal Form (1NF).
A relational table is in First Normal Form (1NF) if and only if it satisfies three strict criteria:
phone_1, phone_2, phone_3).LIKE '%9820022222%').UNIQUE constraint on phone numbers? You can't!Some developers attempt to fix comma-separated values by adding numbered columns:
NULL columns for users with only 1 phone number.ALTER TABLE migration to add phone_4!WHERE phone_1 = 'x' OR phone_2 = 'x' OR phone_3 = 'x'.
To bring the schema into 1NF, separate the repeating attribute into its own dedicated child table where each value occupies its own row:
full_name = 'Aarav Sharma' violates practical atomicity. Split names into first_name and last_name. Similarly, split addresses into street, city, state, and postal_code.JSON columns for semi-structured data that does not require relational foreign keys.skill_1, skill_2, and skill_3 violate First Normal Form?"Mumbai, Maharashtra, 400001" in a single address column considered a practical violation of atomicity?Continue learning with hands-on practice, examples, and exercises in the upcoming topic.
| Previous Lesson | Next Lesson |
|---|---|
| Database Anomalies (Insert, Update, Delete) | Second Normal Form (2NF) & Functional Dependencies |
Test your understanding of this lesson with 5 questions. Each question has one correct answer.