QuestionQ243Verified/Relational Database conceptsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are true about the use of constraints?Choose twoANOT NULL can be specified at the column and at the table level.BA table can have only one PRIMARY KEY and one FOREIGN KEY constraint.CA FOREIGN KEY column in a child table and the referenced PRIMARY KEY column in the parent table must have the same names.DPRIMARY KEY and FOREIGN KEY constraints can be specified at the column and at the table level.EA table can have multiple PRIMARY KEY and multiple FOREIGN KEY constraints.FA table can have only one PRIMARY KEY but may have multiple FOREIGN KEY constraints.Show AnswerAnswerExplanationA table can have only one primary key, while it may have multiple foreign key constraints. Oracle Database permits primary key and foreign key constraints to be declared either inline at the column level or out of line at the table level. NOT NULL is restricted to inline declaration, and matching foreign-key and referenced-key column names are not required.Learn moreOracle Database SQL Language Reference: constraintShow comments2Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion