QuestionQ51

VerifiedRelational Database concepts

Which four statements are accurate about primary-key and foreign-key constraints and the effects they can have on table data?

Choose three
Explanation

Primary-key and foreign-key constraints can be declared inline at the column level or out of line at the table level. A table can have one primary key and multiple foreign keys. Child rows can remain after a parent-row deletion when an ON DELETE SET NULL action applies, with the foreign-key values set to NULL. Foreign-key column names do not have to match the referenced primary-key column names. Consequently, only three listed statements are technically true; the requirement to choose four is inconsistent with the provided options.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!