Which of the following statement is true? A. Foreign key fields don’t allow duplicate values B. In primary key field you can enter duplicate value C. In an indexed field you may or may not enter duplicate value depending upon setting D. All statements are true

Foreign key fields don't allow duplicate values
In primary key field you can enter duplicate value
In an indexed field you may or may not enter duplicate value depending upon setting
All statements are true

The correct answer is: A. Foreign key fields don’t allow duplicate values

A foreign key is a column or group of columns in a table that refers to the primary key of another table. The foreign key column(s) must contain the same values as the primary key column(s) of the other table. This ensures that the data in the two tables is consistent.

A primary key is a column or group of columns in a table that uniquely identifies each row in the table. The primary key column(s) cannot contain duplicate values.

An index is a data structure that improves the performance of queries on a table. An index can be created on one or more columns in a table. The columns in an index must be unique, but they do not have to be the primary key columns.

Therefore, the only statement that is true is A.