Chapter 2 Flashcards
T||F : Every table is a relation, but not very relation is a table.
False
T||F : Every cell in a relation can hold only a single value.
True
T||F : To be considered a composite key, a key must contain at least two attributes.
True
T||F : When used to represent a relationship, the primary key must have the same name as the corresponding foreign key.
False
If the condition exists such that knowing the value of attribute X determines the value of attribute Y, then attribute Y is functionally dependent on attribute X.
True
What is synonymous with “tuple”?
Row
Keys
It may be unique
It may be non-unique
In may identify more than one row
STUDENT (SID, StudentName, Major, AdvisorID)
ADVISOR (AdvisorID, AdvisorName, Office, Phone)
AdvisorID is a foreign key
Null Values Falseness
A null value can mean that no value for the field is appropriate
Briefly describe the various tasks of the primary key
While a primary key helps identify unique columns, they also help create indexes for databases and help ensure that no value is repeated
Concept of a foreign key
Foreign key are primary keys in another table
Concept of functional dependency
Functional dependency is when a value of a table dependency on another value. This validates the data.