The correct syntax for inserting a foreign key constraint in a relation is ALTER TABLE table_name ADD FOREIGN KEY(attribute name) REFERENCES referenced_table_name(attribute name).
Additional Context:
ALTER TABLE
to modify existing tableADD FOREIGN KEY
clauseREFERENCES
with target table and columnALTER TABLE orders ADD FOREIGN KEY (customer_id) REFERENCES customers(customer_id);
ADD TABLE
MODIFY TABLE
commandCorrect Answer: (1) ALTER TABLE table_name ADD FOREIGN KEY(attribute name) REFERENCES referenced_table_name(attribute name).