0 votes
in Sql by

Which of the following SQL statements is used to add a foreign key constraint to a table in SQLite?

a) ADD FOREIGN KEY

b) ADD CONSTRAINT FOREIGN KEY

c) FOREIGN KEY CONSTRAINT

d) None of the above

1 Answer

0 votes
by

Answer: b) ADD CONSTRAINT FOREIGN KEY

Explanation: The ADD CONSTRAINT FOREIGN KEY statement is used to add a foreign key constraint to a table in SQLite.

...