Chapter 6: SQL For Data Analysis

25 July 2022
4.7 (114 reviews)
64 test answers

Unlock all answers in this set

Unlock answers (60)
question
2NF
answer
From a structural point of view, 3NF is better than _____.
question
Normalization stages
answer
1NF, 2NF, and 3NF are _____.
question
1NF
answer
From a structural point of view, 2NF is better than _____.
question
Three
answer
Normalization works through a series of stages called normal forms. For most purposes in business database design, _____ stages are as high as you need to go in the normalization process.
question
FALSE
answer
Normalization is a very important database design ingredient, and the highest level is always the most desirable.
question
FALSE
answer
Normalization produces a lower normal form.
question
TRUE
answer
Normalization works through a series of stages called normal forms.
question
Normalization
answer
_____ is a process to help reduce the likelihood of data anomalies.
question
Prime attribute/key attribute
answer
Any attribute that is at least part of a key is known as a _____.
question
Prime
answer
An attribute that is part of a key is known as a(n) _____ attribute.
question
Anomalies
answer
The problem with transitive dependencies is that they still yield data _____.
question
Anomalies
answer
A table that displays data redundancies yields _____.
question
1NF (first normal form)
answer
All relational tables satisfy the _____ requirements.
question
Make sure that entities are in normal form before table structures are created
answer
When designing a database, you should _____.
question
Data integrity problems
answer
Data redundancy produces _____ .
question
Derived
answer
From a system functionality point of view, _____ attribute values can be calculated when they are needed to write reports or invoices.
question
FALSE
answer
Reporting anomalies in a table can cause a multitude of problems for managers and can be fixed through application programming.
question
TRUE
answer
Data redundancy produces data anomalies.
question
FALSE
answer
Normalization is a process that is used for changing attributes to entities.
question
Crow's Foot notation ERDs
answer
When designing a new database structure based on the business requirements of the end users, the database designer will construct a data model using a technique such as _____.
question
Candidate
answer
BCNF can be violated only if the table contains more than one _____ key.
question
The 3NF and the BCNF
answer
When a table contains only one candidate key, _____ are considered to be equivalent.
question
Three
answer
If you have three different transitive dependencies, _____ different determinant(s) exist.
question
Partial
answer
Dependencies based on only a part of a composite primary key are known as _____ dependencies.
question
Repeating group
answer
A _____ derives its name from the fact that a collection of multiple entries of the same type can exist for any single key attribute occurrence.
question
Repeating group
answer
A relational table must not contain a(n) _____.
question
Determines
answer
Attribute A _____ attribute B if all of the rows in the table that agree in value for attribute A also agree in value for attribute B.
question
Transitive dependency
answer
A(n) _____ exists when there are functional dependencies such that Y is functionally dependent on X, Z is functionally dependent on Y, and X is the primary key.
question
2NF
answer
Before converting a table into 3NF, it is imperative that the table already be in _____.
question
3NF
answer
A table that is in 2NF and contains no transitive dependencies is said to be in _____.
question
DKNF
answer
Of the following normal forms, _____ is mostly of theoretical interest.
question
Determinant
answer
Any attribute whose value determines other values within a row is known as a _____.
question
Primary
answer
Because a partial dependency can exist only when a table's primary key is composed of several attributes, a table whose _____ key consists of only a single attribute is automatically in 2NF once it is in 1NF.
question
TRUE
answer
A table is in BCNF if every determinant in the table is a candidate key.
question
Partial dependencies
answer
If a table has multiple candidate keys and one of those candidate keys is a composite key, the table can have _____ based on this composite candidate key even when the primary key chosen is a single attribute.
question
Partial dependency
answer
A(n) _____ exists when there are functional dependencies such that XY is functionally dependent on WZ, X is functionally dependent on W, and XY is the primary key.
question
TRUE
answer
A dependency based on only a part of a composite primary key is known as a partial dependency.
question
TRUE
answer
Relational models view data as part of a table or collection of tables in which all key values must be identified.
question
TRUE
answer
The objective of normalization is to ensure that each table conforms to the concept of well-formed relations.
question
TRUE
answer
Repeating groups must be eliminated by ensuring that each row defines a single entity.
question
True
answer
Dependency diagrams are very helpful in getting a bird's eye view of all the relationships among a table's attributes.
question
FALSE
answer
Dependencies that are based on only a part of a composite primary key are called transitive dependencies.
question
TRUE
answer
All relational tables satisfy the 1NF requirements.
question
TRUE
answer
In the context of partial dependencies, data redundancies occur because every row entry requires duplication of data.
question
TRUE
answer
Since a partial dependency can exist only if a table's primary key is composed of several attributes, if a table in 1NF has a single-attribute primary key, then the table is automatically in 2NF.
question
TRUE
answer
It is possible for a table in 2NF to exhibit transitive dependency, where the primary key may rely on one or more nonprime attributes to functionally determine other nonprime attributes.
question
FALSE
answer
A determinant is any attribute whose value determines other values within a column.
question
FALSE
answer
A dependency of one nonprime attribute on another nonprime attribute is a partial dependency.
question
Partial dependency
answer
A dependency based on only a part of a composite primary key is called a _____.
question
Diagram
answer
Dependencies can be identified with the help of a dependency _____.
question
Concept of keys
answer
The _____ is central to a discussion of normalization.
question
4NF (fourth normal form)
answer
In the _____, no row may contain two or more multivalued facts about an entity.
question
4NF
answer
Some very specialized applications may require normalization beyond the _____.
question
3NF
answer
For most business transactional databases, we should normalize relations into _____.
question
3NF
answer
Most designers consider the BCNF as a special case of the _____.
question
1NF
answer
A table that has all key attributes defined, has no repeating groups, and all its attributes are dependent on the primary key is said to be in _____.
question
2NF
answer
A table that is in 1NF and includes no partial dependencies is said to be in _____.
question
Dependency
answer
In a(n) _____ diagram, the arrows above the attributes indicate all desirable dependencies.
question
Cannot be further subdivided
answer
An atomic attribute _____ .
question
Atomicity
answer
An attribute that cannot be further subdivided is said to display _____.
question
Atomicity
answer
Improving _____ leads to more flexible queries.
question
Granularity
answer
_____ refers to the level of detail represented by the values stored in a table's row.
question
The level of detail represented by the values in a table's row
answer
Granularity refers to _____.
question
Surrogate
answer
In a real-world environment, changing granularity requirements might dictate changes in primary key selection, and those changes might ultimately require the use of _____ keys.