INTERMEDIATE🔥 High-Yield Exam Topic 4 min read 5 views
Functional Dependencies, Candidate Keys & Normalization (1NF–BCNF)
Attribute closure algorithm, prime vs non-prime attributes, exact definitions of 2NF/3NF/BCNF, and lossless join test.
Normal Forms Checklist (Assume is in 1NF — Atomic Attributes)
Let be any non-trivial functional dependency ():
| Normal Form | Exact Condition on Every Non-Trivial FD | Always Lossless Decomposition? | Always Dependency Preserving? |
|---|---|---|---|
| 2NF | No Partial Dependency (no proper subset of a Candidate Key determines a non-prime attribute) | Yes | Yes |
| 3NF | Either is a Superkey OR is a Prime Attribute (part of some Candidate Key) | ✅ Yes | ✅ Yes |
| BCNF | MUST be a Superkey (zero exceptions!) | ✅ Yes | ❌ Not Always! |
💡 Shortcut & Tip
Instant Shortcuts for Exam Hall:
- If every Candidate Key of is a single attribute (simple key), then is automatically in 2NF!
- Any 2-attribute relation is ALWAYS in BCNF!
📐 Quick Revision Formula Sheet
Binary Decomposition R -> (R1, R2) Lossless Join Condition
💡 Common attributes R1 cap R2 MUST be a superkey of R1 or R2!
#DBMS#Normalization#BCNF#3NF#Keys
🎯 Practice PYQs on This Topic (1)
Q1.GATE CS DBMS PYQMCQMEDIUM
+2 Marks • -0.67 NegConsider relation with functional dependencies . What is the highest Normal Form satisfied by ?