[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Database :: Database Redesign - Discussion

Home > Database > Database Redesign > MCQs Questions Discussion

11 / 23

Choose the correct option.

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?

AALTER TABLE STUDENT ALTER CONSTRAINT GradeCheck (Grade > 0);

BALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);

CALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);

DNone of the above is correct

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!