SQL - Database Design and NormalizationWhich condition must a table satisfy to be in Third Normal Form (3NF)?AIt must have no repeating groupsBIt must have a primary keyCIt must be in Second Normal Form and have no transitive dependenciesDIt must have only one attributeCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand 2NF requirement3NF requires the table to be in 2NF, meaning no partial dependencies on a composite key.Step 2: Check for transitive dependencies3NF also requires no transitive dependencies, where non-key attributes depend on other non-key attributes.Final Answer:The table must be in Second Normal Form and have no transitive dependencies -> Option CQuick Check:3NF = No transitive dependencies [OK]Quick Trick: 3NF means no transitive dependencies after 2NF [OK]Common Mistakes:Confusing 3NF with just having a primary keyIgnoring transitive dependenciesThinking 3NF means no repeating groups
Master "Database Design and Normalization" in SQL9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More SQL Quizzes Advanced Query Patterns - Top-N per group query - Quiz 15hard Advanced Query Patterns - Conditional aggregation pattern - Quiz 2easy Advanced Window Functions - FIRST_VALUE and LAST_VALUE - Quiz 15hard CASE Expressions - Why CASE expressions are needed - Quiz 13medium CASE Expressions - CASE with aggregate functions - Quiz 7medium Common Table Expressions (CTEs) - CTE vs subquery vs view decision - Quiz 1easy Common Table Expressions (CTEs) - CTE referencing another CTE - Quiz 9hard Indexes and Query Performance - EXPLAIN plan for query analysis - Quiz 9hard SQL Security Basics - Parameter binding mental model - Quiz 4medium Transactions and Data Integrity - Read phenomena (dirty reads, phantom reads) - Quiz 3easy