πŸ“Š Database Management System (DBMS)
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?
  • (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);
  • (D) neither of these two conditions is met.
πŸ’¬ Discuss
βœ… Correct Answer: (B) ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck (Grade > 0);

You must be Logged in to update hint/solution

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
195
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
84%
Success Rate