Week #7.2 Quiz - CIST1220-Structured Query Language-SQL

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

The explanation below is an example of which constraint type? A primary key must be unique, and no part of the primary key can be null. A) Entity integrity B) Referential integrity C) Column integrity D) User-defined integrity

A) Entity integrity

One or more columns in a primary key can be null. True or False?

B) False

One-to-One relationships are transformed into Foreign Keys in the tables created at either end of that relationship. True or False?

B) False

The explanation below is an example of which constraint type? The value in the dept_no column of the EMPLOYEES table must match a value in the dept_no column in the DEPARTMENTS table. A) Entity integrity B) Referential integrity C) Column integrity D) User-defined integrity

B) Referential integrity

Two entities A and B have an optional (A) to Mandatory (B) One-to-One relationship. When they are transformed, the Foreign Key(s) is placed on: A) Both tables A and B get a new column and a Foreign Key. B) The table A C) The table B D) Nowhere, One-to-One relationships are not transformed.

C) The table B


Ensembles d'études connexes

Macro Final Chapters 11, 12, 13, 14, 19

View Set

Beaufort 5 - Contact 8 - Woorden

View Set