The reserved word enum is used for which of the following?
Options
A. To define a range for an attribute.
B. To define a range for a class.
C. To define a range for a relationship.
D. All of the above.
Correct Answer
To define a range for an attribute.
More questions
1. What SQL command will allow you to change the table STUDENT to add the constraint named GradeCheck that states that the values of the Grade column must be greater than 0?
Options
A. ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0);
B. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);
C. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);