MCQs
Lock timeoutThe timeout scheme is particularly easy to implement, and works well if transactions are short and if longwaits are likely to be due to deadlocks.
PrimaryThe primary key has to be referred in the other relation to form a foreign key in that relation .
Referencing relation
StreetStreet is the only attribute which can occur more than once.
Referenced relation
ReferentialA relation, say r1, may include among its attributes the primary key of another relation, say r2. This attribute is called a foreign key from r1, referencing r2. The relation r1 is also called the referencing relation of the foreign key dependency, and r2 is called the referenced relation of the foreign key.
Super keySuper key is the superset of all the keys in a relation.
KeyKey is the constraint which specifies uniqueness.
No proper subset is a super keyThe subset of a set cannot be the same set.Candidate key is a set from a super key which cannot be the whole of the super set
IDHere the id is the only attribute which can be taken as a key. Other attributes are not uniquely identified .