Database & Data Handling (NCCIA) MCQs
1999 MCQs is category mein available hain.
All MCQs in Database & Data Handling (NCCIA)
891 Why is a primary key automatically NOT NULL?
Explanation
A NULL identifier cannot distinguish a row, so the DBMS enforces NOT NULL on primary keys.
Last verified on 27-11-2026
892 Which table design satisfies entity integrity?
Explanation
Entity integrity is satisfied only when the primary key uniquely and completely identifies every row.
Last verified on 27-11-2026
893 What is the main purpose of entity integrity?
Explanation
Entity integrity is about identification of each row, not about relationships or formats.
Last verified on 27-11-2026
894 If two rows have the same primary key value, which rule is broken?
Explanation
Duplicate primary keys mean rows are not uniquely identifiable, violating entity integrity.
Last verified on 27-11-2026
895 In an Employee table, ManagerID refers to EmployeeID in the same table. What is ManagerID called?
Explanation
A self-referencing foreign key is a foreign key in a table that references the primary key of the same table.
Last verified on 27-11-2026
896 In an Employees table, ManagerID referencing EmployeeID is an example of:
Explanation
ManagerID points to another employee in the same table, so the foreign key references its own table.
Last verified on 27-11-2026
897 Which referential action keeps child rows but removes their parent link?
Explanation
SET NULL preserves child rows while clearing the foreign key, so the link is removed without deleting the child.
Last verified on 27-11-2026
898 What does ON DELETE SET DEFAULT do?
Explanation
SET DEFAULT reassigns child rows to a default parent instead of deleting them or leaving them orphaned.
Last verified on 27-11-2026
899 In a parent-child relationship, the parent table is the one:
Explanation
The parent holds the referenced primary key; the child holds the foreign key pointing to it.
Last verified on 27-11-2026
900 In a parent-child relationship, the child table is the one:
Explanation
The child table stores the foreign key that links each row to its parent.
Last verified on 27-11-2026