What restriction does third normal form (3NF) impose on dependencies?

Prepare for the Veritas Qualifying Exam with comprehensive quizzes featuring multiple-choice questions, detailed explanations, and useful tips. Master the exam material and boost your confidence!

Multiple Choice

What restriction does third normal form (3NF) impose on dependencies?

Explanation:
Third normal form eliminates transitive dependencies. That means non-prime attributes should not depend on other non-prime attributes via a key. If a key determines A and A then determines B, B ends up depending on the key indirectly, which 3NF prohibits. For example, a table with StudentID as the key and attributes StudentName, DeptID, DeptName has a transitive dependency if DeptName depends on DeptID, which depends on the key. To satisfy 3NF, you split into two relations: one with StudentID, StudentName, DeptID and another with DeptID, DeptName. Now each non-prime attribute depends directly on a key in its relation. That’s why the correct restriction is no transitive dependencies.

Third normal form eliminates transitive dependencies. That means non-prime attributes should not depend on other non-prime attributes via a key. If a key determines A and A then determines B, B ends up depending on the key indirectly, which 3NF prohibits.

For example, a table with StudentID as the key and attributes StudentName, DeptID, DeptName has a transitive dependency if DeptName depends on DeptID, which depends on the key. To satisfy 3NF, you split into two relations: one with StudentID, StudentName, DeptID and another with DeptID, DeptName. Now each non-prime attribute depends directly on a key in its relation.

That’s why the correct restriction is no transitive dependencies.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy