Match List-I with List-II
List-I List-II (A). FOREIGN KEY (I). Ensures that all values in a column are distinct. (B). DEFAULT (II). The column which refers to the value of an attribute is defined as the primary key in another table. (C). UNIQUE (III). The column which can uniquely identify each row in a table. (D). PRIMARY KEY (IV). A value is specified for a column if no value is provided.
Match List-I with List-II
| List-I | List-II |
|---|---|
| (A). FOREIGN KEY | (I). Ensures that all values in a column are distinct. |
| (B). DEFAULT | (II). The column which refers to the value of an attribute is defined as the primary key in another table. |
| (C). UNIQUE | (III). The column which can uniquely identify each row in a table. |
| (D). PRIMARY KEY | (IV). A value is specified for a column if no value is provided. |
Solution
✅ Correct Option: 2
| List I | List II |
|---|---|
| (A) FOREIGN KEY | (II) Refers to a value that is the primary key in another table |
| (B) DEFAULT | (IV) Value used for a column if none is provided |
| (C) UNIQUE | (I) Ensures all values in a column are distinct |
| (D) PRIMARY KEY | (III) Uniquely identifies each row in a table |
UNIQUE and PRIMARY KEY are easily confused. Both prevent duplicates, but a table can have many UNIQUE columns and only one PRIMARY KEY, and a PRIMARY KEY cannot be NULL.
Related questions:
2025: 22 May Shift 1
2025: 13 May Shift 2
2026: 24 May Shift 1
2026: 29 May Shift 2
2025: 27 May Shift 2