nerdexam
IBM

C2090-558 · Question #78

Click the Exhibit button. In the exhibit, which ALTER TABLE statement is used to add the foreign key constraint where customer_num column in the orders table is a foreign key that references the…

The correct answer is D. ALTER TABLE orders ADD CONSTRAINT (FOREIGN KEY (customer_num) REFERENCES. See the full explanation below for the reasoning.

Question

Click the Exhibit button. In the exhibit, which ALTER TABLE statement is used to add the foreign key constraint where customer_num column in the orders table is a foreign key that references the customer_num column in the customer table?

Exhibit

C2090-558 question #78 exhibit

Options

  • AALTER TABLE customer ADD CONSTRAINT (FOREIGN KEY (order_num) REFERENCES
  • BALTER TABLE orders ADD CONSTRAINT (FOREIGN KEY (order_num) REFERENCES
  • CALTER TABLE customer ADD CONSTRAINT (FOREIGN KEY (customer_num) REFERENCES
  • DALTER TABLE orders ADD CONSTRAINT (FOREIGN KEY (customer_num) REFERENCES

How the community answered

(61 responses)
  • A
    8% (5)
  • B
    3% (2)
  • C
    15% (9)
  • D
    74% (45)

Community Discussion

No community discussion yet for this question.

Full C2090-558 Practice