database - Normalization, Primary Key Dependency Candidate Key -


in process of decomposition normalize relation. if reach point attributes in relation depend on primary key, can assume depend entirely on different candidate keys? if not case can please give me example of case attributes depend on primary key, of them depend on part of other candidate keys.

i'm starting learning databases

surrogate primary ids make example easy:

(row_id pk, student_id, course_id, student_name) 

where row_id , (student_id, course_id) candidate keys , student_id -> student_name. of course row_id trivially determines other attributes if it's auto-incremented number.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -