Filter by year

Integrity Constraints questions

Q26

GATE DA 2026 DADatabase DesignMSQ1 mark

Report a problem with Q26

What is wrong?
Consider two relations r and s defined on the relational schemas R(A,B) and S(E,C), respectively. A is the primary key of R and E is a foreign key of S referencing A in R.
Which of the following operations will NEVER violate the foreign key constraint?
More than one option can be correct.
Show answer without attempting

Loading the answer…

Q56

GATE DA 2025 DADatabase DesignMSQ2 marks

Report a problem with Q56

What is wrong?
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?
More than one option can be correct.
Show answer without attempting

Loading the answer…

0/20 correct0 marks

Related topics in Database Design