Podcast
Questions and Answers
What is a major issue with traditional file-based systems?
What is a major issue with traditional file-based systems?
- Data encryption
- Data redundancy and inconsistency (correct)
- Data normalization
- Atomicity of updates
What is the primary purpose of a super key in a relation schema?
What is the primary purpose of a super key in a relation schema?
- To ensure all attributes are functionally dependent (correct)
- To provide a minimal subset of attributes
- To ensure data normalization
- To uniquely identify a row
What is the main difference between a primary key and a candidate key?
What is the main difference between a primary key and a candidate key?
- A primary key is used for indexing, while a candidate key is used for querying
- A primary key is a minimal superkey, while a candidate key is not
- A primary key is one of the candidate keys, while a candidate key is any superkey (correct)
- A primary key can have NULL values, while a candidate key cannot
What is the purpose of a foreign key in a database table?
What is the purpose of a foreign key in a database table?
What is a limitation of unique constraints compared to primary keys?
What is a limitation of unique constraints compared to primary keys?
What is a major advantage of using a database management system over traditional file-based systems?
What is a major advantage of using a database management system over traditional file-based systems?
What is the primary goal of database normalization?
What is the primary goal of database normalization?
What is the main difference between the HAVING and WHERE clauses in SQL?
What is the main difference between the HAVING and WHERE clauses in SQL?
What is the purpose of an SQL JOIN?
What is the purpose of an SQL JOIN?
What is the primary function of an Identity column in SQL?
What is the primary function of an Identity column in SQL?
What is the main advantage of using a view in SQL?
What is the main advantage of using a view in SQL?
What is the primary difference between DDL and DML in SQL?
What is the primary difference between DDL and DML in SQL?