4

1NF:

(student_id, name, start, program, course_code, course_name, faculty, credits, time, grade)

Minimal functional dependencies (identified):

{student_id} → { name, start, program }
{course_code} → { course_name, faculty, credits, time }
{student_id, course_code} → { grade }

2NF:

student (student_id, name, start, program)
course (course_code, course_name, faculty, credits, time)
student_course(student_id, course_code, grade)

Is this 2NF decomposition really correct, or am I completely out of scope?

0

1 Answer 1

0

There is no non-prime attribute in any of the relations that is functionally dependent on a proper subset of any candidate key. That is obvious from the functional dependencies - only the third table has to be checked, and your third functional dependency covers that.

Consequently your result is in 2NF.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.