Question

What is the purpose of a FOREIGN KEY constraint?

A To uniquely identify each row in a table
B To prevent NULL values in a column
C To speed up query execution automatically
D To enforce a link between the data in two tables, referencing the primary key of another table
E To create an index on a column
Practice Next

Hey! Ask a query