Mock Exam Flashcards
Which statement links with the following clauses?
WHERE GROUP BY HAVING SELECT FORM
WHERE - filters the rows (before aggregation)
GROUP BY - determines how aggregate functions are evaluated
HAVING - filters the rows (after aggregation)
SELECT - determines which columns appear
FROM - determines which tables are searched
Give a true statement of a composite key?
It should improve the performance of some SELECT queries.
What design is database vendor dependent?
Physical Design
What is a main role for a database administrator?
Ensuring that the database is backed up regularly
Do all tables need to have a foreign key?
No
What do foreign keys ensure?
referential integrity
Can a foreign key be NULL?
Yes
What is the term for combining two relations based on values in one attribute in each relation being the same?
Equi Join
What is the term for a mapping from the members of one set to the members of a second set?
Relation
The label at the “child” end of an optional, one-to-many relationship should be?
0..*
State the stage of normalisation at which the following issue is addressed:
Eliminate partial key dependencies:
Second Normal Form
State 3 points regarding optionality?
It specifies whether participation in the relationship is mandatory for a particular entity type or not
It is represented by the left-hand number in a multiplicity label
It is the minimum number of entities of a particular type that can participate in the relationship
Select the true statement about the multiplicity label shown:
0..1
The entity is optional. The corresponding foreign key may be null.
What is the term for the maximum number of entities that can participate in a relationship?
Cardinality
Select the category relevant to the action of allowing user X to insert records into table T
Access control