← RGPV CS-502 DBMS December 2020 solved question paper
← RGPV CS-502 DBMS June 2026 solved question paper
CS-502 (CBGS) | December 2020 | Q8(iv) | Short note (any three together carry 14 marks)
Question (restated): Write a note on join dependency.
Answer
A join dependency JD(R1,R2,…,Rn) on relation R requires every legal instance of R to equal the natural join of its projections on the listed schemas. It generalizes the idea of lossless decomposition. A join dependency is trivial if one component equals the entire relation.
Consider SupplierPartProject(S,P,J). Suppose a business rule states that a triple is valid exactly when its supplier-part, supplier-project and part-project pairs are all valid. Under this rule the relation equals the join of SP, SJ and PJ. Storing the three pairwise relations can remove redundancy. Without that rule, the join may introduce invalid triples, so decomposition cannot be justified merely from attribute names.
Fifth normal form, also called project-join normal form, requires every nontrivial join dependency to be implied by candidate keys. It addresses redundancy that may remain after 4NF. Join dependencies involving three or more projections cannot always be captured by a single multivalued dependency. Their identification requires knowledge of the semantics of the application.

Further reading: Silberschatz, Korth and Sudarshan, Database System Concepts.
June 2026 examination: additional answer
RGPV CS-502 (GS) | June 2026 | Q5(b) | 7 marks (inferred)
Question (restated): Discuss functional dependency and Fifth Normal Form (5NF).
Answer

A functional dependency X→Y means tuples agreeing on X must agree on Y. For Student(ID, Name, Dept), ID→Name,Dept follows from the identity rule. Attribute closure helps derive dependencies and identify keys. Functional dependencies guide 2NF, 3NF and BCNF, but cannot express every independent association.
A join dependency JD(R1,…,Rn) requires every valid instance r of R to equal the natural join of its projections onto R1,…,Rn. Fifth normal form (project-join normal form) requires every nontrivial join dependency to be implied by candidate keys. It addresses redundancy arising from decompositions into three or more relations.
Consider Supply(Supplier, Part, Project), with a business rule that a triple is valid exactly when the supplier supplies the part, the supplier serves the project and the project uses the part. Suppose valid triples are (S1,P1,J1), (S1,P2,J1), (S2,P1,J1). The projections SP={(S1,P1),(S1,P2),(S2,P1)}, SJ={(S1,J1),(S2,J1)}, PJ={(P1,J1),(P2,J1)}. Their join reconstructs these three triples. Under the stated rule, storing the three pair relations is sufficient and avoids repeated association facts.
The rule must hold for all valid instances, not merely this sample. If (S2,P2,J1) were prohibited despite all three corresponding pairs being present, the decomposition would introduce a spurious tuple and would be invalid. In the general supply design with no nontrivial FDs, the full triple is a candidate key; a nontrivial three-way JD may still violate 5NF. Thus BCNF alone does not guarantee 5NF.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion