GATE DA 2025 · Question 56 · Database Management and Warehousing · Multiple select (MSQ) · 2 marks · no negative marks
Consider the following two relations, named Customer and Person, in a database:
Person ( aadhaar CHAR(12) PRIMARY KEY, name VARCHAR(32)); Customer ( name VARCHAR(32), email VARCHAR(32) PRIMARY KEY, phone CHAR(10), aadhaar CHAR(12), FOREIGN KEY (aadhaar) REFERENCES Person(aadhaar));
Which of the following statements is/are correct?
- (A) aadhaar is a candidate key in the Customer relation
- (B) phone can be NULL in the Customer relation
- (C) aadhaar is a candidate key in the Person relation
- (D) aadhaar can be NULL in the Person relation
Answer
Answer (B), (C)
Answer from the official GATE DA 2025 answer key.
The step-by-step solution, where available, is part of GATE DA Pro. See what Pro includes