Q:

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?

belongs to collection: DBMS - SQL MCQ

0

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?


  1. ALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0);
  2. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);
  3. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);
  4. None of the above is correct.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(c).ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

DBMS - SQL MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Which is not true of a correlated subquery?... >>
<< To drop a column that is used as a foreign key, fi...