Question: Question 1 ( 1 0 points ) A check constraint is inter - relational. Question 1 options: True False Question 2 ( 1 0 points
Question points
A check constraint is interrelational.
Question options:
True
False
Question points
A foreign key constraint is intrarelational.
Question options:
True
False
Question points
A view exists physically.
Question options:
True
False
Question points
A relation can have several candidate keys.
Question options:
True
False
Question points
We consider the table Teaching below. Check all statements that are True. We consider an ideal DBMS that would enforce all reactive constraints.
CREATE TABLE Teaching
ProfId INTEGER,
CrsCode CHAR
Semester CHAR
PRIMARY KEY CrsCode Semester
FOREIGN KEY CrsCode REFERENCES Course,
FOREIGN KEY ProfId REFERENCES Professor Id
Select correct answers
Question options:
If we delete a professor in Professor, nothing happens in Teaching.
If we update a semester in Teaching, nothing happens in Professor.
If we delete a course CrsCode in Course, we delete the data about this course in Teaching.
If we delete a course CrsCode in Course, we set to null the value of CrsCode in Teaching.
Question points
Check all that apply. We consider the constraint: In teaching assignment table that assigns professors to courses, each individual assignment should correspond to exactly one professor and one course. The constraint is
Select correct answers
Question options:
Structuralsyntactic
Semantic
Static
Dynamic
Question points
MySQL SQL and PostgreSQL permit to define the same reactive and referential constraints.
Question options:
True
False
Question points
Check all that apply. We consider the constraint: A class start time must be before its end time. The constraint is
Select correct answers
Question options:
Structuralsyntactic
Semantic
Static
Dynamic
Question points
A foreign key in a relation R is a candidate key in a relation R
Question options:
True
False
Question points
A relation has only one primary key, a candidate key designed as the primary one.
Question options:
True
False
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
