Relational Design questions

Q16

GATE CS 2017 CS-1Relational DesignMCQ1 mark−1/3 if wrong
The following functional dependencies hold true for the relational schema R{V,W,X,Y,Z}R\{V, W, X, Y, Z\}:

V→WV \to W
VW→XVW \to X
Y→VXY \to VX
Y→ZY \to Z

Which of the following is irreducible equivalent for this set of functional dependencies?
Show answer without attempting

Answer: A

Q19

GATE CS 2017 CS-2Relational DesignNAT1 mark
Consider the following tables T1 and T2.

T1:
PQ
22
38
73
58
69
85
98
T2:
RS
22
83
32
97
57
72
In table T1, P\mathbf{P} is the primary key and Q\mathbf{Q} is the foreign key referencing R\mathbf{R} in table T2 with on-delete cascade and on-update cascade. In table T2, R\mathbf{R} is the primary key and S\mathbf{S} is the foreign key referencing P\mathbf{P} in table T1 with on-delete set NULL and on-update cascade. In order to delete record (3,8)(3,8) from table T1, the number of additional records that need to be deleted from table T1 is ____________.
Show answer without attempting

Answer: 0.0

0/20 correct0 marks

Related topics in Databases