Question 1: Primary Key - Uniqueness in RDBMS
What is the main purpose of a Primary Key in a relational table?
Question 2: Foreign Key - Relationships in RDBMS
What does a Foreign Key in a table do?
Question 3: NOT NULL Constraint - Column Rules in RDBMS
Which constraint ensures that a column must always have a value?
Question 4: UNIQUE Constraint - Data Integrity in RDBMS
What is the purpose of the UNIQUE constraint?
Question 5: CHECK Constraint - Validation in RDBMS
Which constraint can be used to validate values before inserting into a column?
Question 6: DEFAULT Constraint - Automatic Values in RDBMS
What does the DEFAULT constraint do?
Question 7: Composite Primary Key - Multiple Columns in RDBMS
What is a composite primary key?
Question 8: Referential Integrity - Foreign Key Role in RDBMS
What happens if a foreign key value does not match a primary key in the referenced table?
Question 9: Primary Key vs Unique Constraint - RDBMS
Which of the following is true about Primary Key vs Unique?
Question 10: Importance of Constraints - Data Integrity in RDBMS
Why are constraints like Primary Key, Foreign Key, and NOT NULL important?