Text: Database: set of dependencies, primary key and foreign key
Consider the set of dependencies A -> B, B -> C, and B -> D. Find the primary key and foreign key for the following two relations. You need to show and determine the primary key and foreign key (if any).
Relation 1: R1(A, B, C)
Relation 2: R2(B, D)