Database Redesign – General Questions

16. 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. None of the above is correct.

Correct Answer:  C. ALTER TABLE STUDENT ADD CONSTRAINT GradeCheck CHECK (Grade > 0);
Advertisement

17. Which is not true of a correlated subquery?

A. EXISTS/NOT EXISTS is a form of a correlated subquery.
B. The processing of the SELECT statements is nested.
C. They can be used to verify functional dependencies.
D. They are very similar to a regular subquery.

Correct Answer:  D. They are very similar to a regular subquery.
Advertisement

18. A tool that can help designers understand the dependencies of database structures is a:

A. dependency graph.
B. data model.
C. graphical display.
D. None of the above is correct.

Correct Answer:  A. dependency graph.
Advertisement

19. How many copies of the database schema are typically used in the redesign process?

A. One
B. Two
C. Three
D. Four

Correct Answer:  C. Three
Advertisement

20. Because of the importance of making data model changes correctly, many professionals are ________ about using an automated process for database redesign.

A. optimistic
B. skeptical
C. ambivalent
D. None of the above is correct.

Correct Answer:  B. skeptical
Advertisement

Leave A Comment?