Gradient LabSign up free

Home / GATE DA / 2025 / Q.56

GATE DA 2025, Q.56: Candidate keys and nullable columns

DatabasesKeys and NULLs in SQL schemas2 marksMSQ (more than one correct)

The question

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 are correct?

Checking your access…

Source: official GATE DA 2025 question paper and answer key (IIT Roorkee). The question is lightly reworded; every number and option is kept.