logo

CuriousTab

CuriousTab

Discussion


Home Database Database Redesign See What Others Are Saying!
  • Question
  • 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);
  • D. None of the above is correct.

  • Correct Answer
  • ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0); 


  • More questions

    • 1. The source of the data is sometimes called the system of record.

    • Options
    • A. True
    • B. False
    • Discuss
    • 2. All primary keys are required.

    • Options
    • A. True
    • B. False
    • Discuss
    • 3. Entities use identifiers while tables use keys.

    • Options
    • A. True
    • B. False
    • Discuss
    • 4. SOAP is now just a name, not an acronym.

    • Options
    • A. True
    • B. False
    • Discuss
    • 5. A function returns one value and has only output parameters.

    • Options
    • A. True
    • B. False
    • Discuss
    • 6. Multiple and binary relationships are the same thing.

    • Options
    • A. True
    • B. False
    • Discuss
    • 7. Output reports should be included as part of an ERD.

    • Options
    • A. True
    • B. False
    • Discuss
    • 8. It is not easy to build a database correctly the first time.

    • Options
    • A. True
    • B. False
    • Discuss
    • 9. SOAP uses HTTP as its only transport mechanism.

    • Options
    • A. True
    • B. False
    • Discuss
    • 10. A updatable view has its own data.

    • Options
    • A. True
    • B. False
    • Discuss


    Comments

    There are no comments.

Enter a new Comment