QuestionQ21Verified/Managing ConstraintsCopy linkReport a problemAsk AstroTutorSave questionExamine the description of the PRODUCT_DETAILS table: Which two statements are correct?Choose twoAPRODUCT_ID can be assigned the PRIMARY KEY constraint.BEXPIRY_DATE cannot be used in arithmetic expressions.CPRODUCT_NAME cannot contain duplicate values.DEXPIRY_DATE contains the SYSDATE by default if no date is assigned to it.EPRODUCT_PRICE can be used in an arithmetic expression even if it has no value stored in it.FPRODUCT_PRICE contains the value zero by default if no value is assigned to it.Show AnswerAnswerExplanationA primary key requires unique, non-null values; a NOT NULL numeric column such as PRODUCT_ID can be assigned that constraint when its values are unique. A numeric column whose value is NULL can still be used in an arithmetic expression, although the resulting expression evaluates to NULL.Learn moreOracle Database SQL Language Reference: ConstraintsOracle Database SQL Language ReferenceShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion