A Foreign Key in a database is used to...
Enforce data validation rules on a column.
Define a new data type for a column.
Establish a link between two tables based on a common column.
Create a primary key for a related table.
Which type of dependency does Third Normal Form (3NF) aim to eliminate?
Transitive dependency
Partial dependency
Multi-valued dependency
Join dependency
What potential drawback might arise from over-normalizing a database?
Increased data redundancy
Reduced query complexity
Increased difficulty in data retrieval and updates
Improved data integrity
In a database table, what does a 'row' represent?
A column header describing the data type.
A relationship between two different tables.
A unique record or instance within the table.
A specific attribute or characteristic of an entity.
Why is data redundancy undesirable in a database?
It increases storage space requirements
All of the above
It can lead to data inconsistencies and anomalies
It complicates data retrieval and manipulation
What is the purpose of a referential integrity constraint in a relational database?
To prevent unauthorized access to sensitive data
To enforce relationships between tables by ensuring that related data exists
To ensure that all data in a table is unique
To speed up data retrieval queries
What happens to records in the 'Orders' table with 'ON UPDATE CASCADE' if a customer's ID is updated in the 'Customers' table?
The corresponding orders are deleted from the 'Orders' table.
The 'Orders' table is unaffected, and the old customer ID remains.
The corresponding customer IDs in the 'Orders' table are automatically updated.
An error occurs, and the update operation on the 'Customers' table is rolled back.
In which scenario might a Snowflake Schema be preferred over a Star Schema?
When query performance is the top priority
When data integrity is critical, and redundancy needs to be minimized
When dealing with small datasets
When storage space is a major concern
What is the primary benefit of using cascading actions in database design?
Enhanced security
Simplified data manipulation
Improved query performance
Reduced storage space
Which of the following is NOT a characteristic of a table in First Normal Form (1NF)?
The table contains a foreign key referencing another table
Each column contains atomic values
There are no repeating groups of columns
A primary key uniquely identifies each row