Deck 4: Database Design Using Normalization

Full screen (f)
exit full mode
Question
To determine the number and type of columns in a table,use the SQL construct COUNT(*).
Use Space or
up arrow
down arrow
to flip the card.
Question
The presence of one or more foreign keys in a relation means that we cannot eliminate duplicated data in that table.
Question
When examining data values as a part of assessing table structure,there is no need to try to determine foreign keys.
Question
To count the number of rows in a table,use the SQL construct COUNT(ROWS).
Question
When examining data values as a part of assessing table structure,you should try to determine the table's primary key.
Question
Normalization eliminates modification anomalies and data duplication.
Question
Relations are sometimes left unnormalized to improve performance.
Question
The second step in assessing table structure is to examine data values and determine dependencies and keys.
Question
The first step in assessing table structure is to count rows and examine columns.
Question
The third step in assessing table structure is to check the validity of presumed referential integrity constraints.
Question
When examining data values as a part of assessing table structure,you should try to determine two types of dependencies: multivalued dependencies and functional dependencies.
Question
When examining data values as a part of assessing table structure,you should try to determine three types of keys: the primary key,any candidate keys and any foreign keys.
Question
When examining data values as a part of assessing table structure,you should try to determine multivalued dependencies.
Question
When examining data values as a part of assessing table structure,there is no need to try to determine candidate keys other than the table's primary key.
Question
Normalization requires applications to use more complex SQL since they will need to write subqueries and joins to recombine data stored in separate relations.
Question
When you are given a set of tables and asked to create a database to store their data,the first step is to assess the tables' structure and content.
Question
To limit the number of rows retrieved from a table,use the SQL TOP keyword.
Question
The elimination of modification anomalies and the reduction of duplicated data are advantages of normalization.
Question
When examining data values as a part of assessing table structure,you should try to determine functional dependencies.
Question
Database design varies depending on whether you're building an updateable database or a read-only database.
Question
Normalization is an advantage for a read-only database.
Question
Read-only databases are often updated.
Question
The SQL DELETE TABLE statement can be used to remove unneeded tables after the normalized tables are created and populated.
Question
Read-only databases often use several copies of a set of same data,where each copy is modified for a specific use.
Question
The multivalued,multicolumn problem occurs when a set of columns are used to store data that should actually be in one column.
Question
A defining requirement for BCNF is that every determinant must be a candidate key.
Question
Read-only databases seldom use more than one copy of a set of same data.
Question
The SQL INSERT statement can be used to populate normalized tables.
Question
The standard sales order/line item pattern is a classic example of unneeded normalization.
Question
Multivalued dependencies show up under a different name as the multivalued,multicolumn problem.
Question
Relations in BCNF have no modification anomalies in regard to functional dependencies.
Question
Denormalization is the process of joining previously normalized tables back together.
Question
Denormalization reduces the complexity of the SQL statements needed in an application to read required data.
Question
Design guidelines and priorities are the same whether you're working with an updateable database or a read-only database.
Question
Multivalued dependencies create anomalies so serious that multivalued dependencies must always be eliminated.
Question
Creating a read-only database is a job often given to beginning database professionals.
Question
SQL statements can be used to create referential integrity statements for normalized tables and are created during the normalization process.
Question
To eliminate multivalued dependencies,normalize your tables so that they are all in BCNF.
Question
Denormalization is simple join the data together and store it in a table.
Question
Writing SQL subqueries and joins against normalized tables is simple compared to the code that must be written to handle anomalies from multivalued dependencies.
Question
Most DBMS products will let you define a primary key on a column that contains null values.
Question
An inconsistent values problem is created when different users have coded the same data entries differently.
Question
General-purpose remarks columns rarely contain important data.
Question
The second step in assessing table structure includes ________.

A)counting rows
B)examining columns
C)examining data values
D)A and B
E)B and C
Question
A null value in a column may indicate that there is no appropriate value for that attribute.
Question
The first step in assessing table structure includes ________.

A)counting rows
B)examining columns
C)examining data values
D)A and B
E)B and C
Question
During the second step of the assessing table structure,you are trying to determine ________.

A)multivalued dependencies
B)functional dependencies
C)foreign keys
D)A and B
E)A,B and C
Question
If you see a column name Notes,it is likely that this is a general-purpose remarks column.
Question
A null value in a column may indicate that there is an appropriate value for that attribute,and although the value is known no one has entered the value into the database.
Question
The problem of misspelled data entries is an entirely different problem than the inconsistent values problem.
Question
When you are creating a database from existing data,you will have only minor problems with inconsistent values.
Question
When you are given a set of tables and asked to create a database to store their data,the first step is to ________.

A)assess the existing tables' structure and content
B)design the database structure
C)create one or more new tables
D)move the data into the new database
E)design the applications that will use the database
Question
If you have a table with a set of columns named "Child01","Child02" and "Child03",the table has the multivalued,multicolumn problem.
Question
The SQL IS NULL keyword can be used to count the number of nulls in a column.
Question
You are creating a BOAT table using existing data from multiple sources,and you find that you have "power boat blue","boat,power,blue" and "blue power boat" as data values for the same column.This is an example of the inconsistent values problem.
Question
Null values are a problem because they are ambiguous.
Question
A missing value is called a null value.
Question
A null value in a column may indicate that there is an appropriate value for that attribute,but it is unknown.
Question
The problem with a general-purpose remarks column is that the data it contains are likely to be verbal,inconsistent and stored in a verbose manner.
Question
One situation created by the multivalued,multicolumn problem is that the maximum number of data values for an attribute is limited.
Question
For a number of reasons,________ is not often an advantage for a read-only database.

A)updating
B)normalization
C)denormalization
D)A and B
E)B and C
Question
Read-only databases are used for ________.

A)updating
B)querying
C)reporting
D)A and B
E)B and C
Question
The defining characteristic of BCNF is that a table is in BCNF if ________.

A)all rows are unique
B)all columns are consistent
C)the primary key is a candidate key
D)all determinants are candidate keys
E)all candidate keys are determinants
Question
During the second step of the assessing table structure,you are trying to determine ________.

A)primary keys
B)candidate keys
C)foreign keys
D)A and B
E)A,B and C
Question
Unlike the anomalies from functional dependencies,the anomalies from ________ are so serious that they should always be eliminated.

A)ZIP codes
B)sales orders and line items
C)association patterns
D)multivalued dependencies
E)general purpose remarks columns
Question
Anomalies caused by functional dependencies can be eliminated by putting tables into ________.

A)1NF
B)2NF
C)3NF
D)BCNF
E)4NF
Question
To limit the number of rows retrieved from a table,use the SQL construct ________.

A)SELECT *
B)SELECT TOP n *
C)SELECT COUNT(TOP n)
D)SELECT COUNT(*)
E)SELECT COUNT *
Question
An advantage of denormalization is ________.

A)faster updating
B)faster querying
C)less complex SQL in application code
D)A and B
E)B and C
Question
The SQL keyword TOP ________.

A)limits the number of columns retrieved from a table
B)limits the number of rows retrieved from a table
C)limits the number of tables retrieved from a database
D)A and C
E)B and C
Question
To count the number of rows in a table,use the SQL construct ________.

A)SELECT *
B)SELECT TOP n *
C)SELECT COUNT(TOP n)
D)SELECT COUNT(*)
E)SELECT COUNT *
Question
A table designed to store PhoneNumber01,PhoneNumber02 and PhoneNumber03 contains ________.

A)the multivalued,multicolumn problem
B)the inconsistent values problem
C)the missing values problem
D)the general-purpose remarks column problem
E)None of the above is correct.
Question
When a table is created using existing data from multiple sources,you are likely to find that the different sources code data in slightly different ways.This is an example of ________.

A)the multivalued,multicolumn problem
B)the inconsistent values problem
C)the missing values problem
D)the general-purpose remarks column problem
E)None of the above is correct.
Question
The disadvantages of normalization include ________.

A)the elimination of modification anomalies
B)the elimination of duplicated data
C)more complex SQL for multitable subqueries and joins
D)A and B
E)A,B and C
Question
A classic example of unneeded normalization is when we are dealing with ________.

A)ZIP codes
B)sales orders and line items
C)association patterns
D)multivalued dependencies
E)general purpose remarks columns
Question
The SQL function COUNT ________.

A)counts the number of columns in a table
B)counts the number of rows in a table
C)counts the number of tables in a database
D)A and C
E)B and C
Question
You have been given two tables,CUSTOMER and SALE.You want to check the referential integrity constraint: SALE.CustomerNumber must exist in CUSTOMER.CustomerNumber
You run the following SQL query:
SELECT CustomerNumber
FROM SALE
WHERE CustomerNumber NOT IN
(SELECT CustomerNumber
FROM SALE,CUSTOMER
WHERE SALE.CustomerNumber = CUSTOMER.CustomerNumber);
What is shown in the results of this query?

A)All values of CustomerNumber that match the constraint.
B)All values of CustomerNumber that violate the constraint.
C)All values of CustomerNumber where
SALE.CustomerNumber = CUSTOMER.CustomerNumber.
D)A and C
E)B and C
Question
________ is the process of joining two or more tables and storing the result as a single table.

A)Querying
B)Normalization
C)Denormalization
D)A and B
E)B and C
Question
The advantages of normalization include ________.

A)the elimination of modification anomalies
B)the elimination of duplicated data
C)more complex SQL for multitable subqueries and joins
D)A and B
E)A,B and C
Question
A form of multivalued dependency is found in ________.

A)the multivalued,multicolumn problem
B)the inconsistent values problem
C)the missing values problem
D)the general-purpose remarks column problem
E)None of the above is correct.
Question
The presence of one or more foreign keys in a relation prevents ________.

A)the elimination of modification anomalies
B)the elimination of duplicated data
C)more complex SQL for multitable subqueries and joins
D)A and B
E)A,B and C
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/100
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 4: Database Design Using Normalization
1
To determine the number and type of columns in a table,use the SQL construct COUNT(*).
False
2
The presence of one or more foreign keys in a relation means that we cannot eliminate duplicated data in that table.
True
3
When examining data values as a part of assessing table structure,there is no need to try to determine foreign keys.
False
4
To count the number of rows in a table,use the SQL construct COUNT(ROWS).
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
5
When examining data values as a part of assessing table structure,you should try to determine the table's primary key.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
6
Normalization eliminates modification anomalies and data duplication.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
7
Relations are sometimes left unnormalized to improve performance.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
8
The second step in assessing table structure is to examine data values and determine dependencies and keys.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
9
The first step in assessing table structure is to count rows and examine columns.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
10
The third step in assessing table structure is to check the validity of presumed referential integrity constraints.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
11
When examining data values as a part of assessing table structure,you should try to determine two types of dependencies: multivalued dependencies and functional dependencies.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
12
When examining data values as a part of assessing table structure,you should try to determine three types of keys: the primary key,any candidate keys and any foreign keys.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
13
When examining data values as a part of assessing table structure,you should try to determine multivalued dependencies.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
14
When examining data values as a part of assessing table structure,there is no need to try to determine candidate keys other than the table's primary key.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
15
Normalization requires applications to use more complex SQL since they will need to write subqueries and joins to recombine data stored in separate relations.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
16
When you are given a set of tables and asked to create a database to store their data,the first step is to assess the tables' structure and content.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
17
To limit the number of rows retrieved from a table,use the SQL TOP keyword.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
18
The elimination of modification anomalies and the reduction of duplicated data are advantages of normalization.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
19
When examining data values as a part of assessing table structure,you should try to determine functional dependencies.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
20
Database design varies depending on whether you're building an updateable database or a read-only database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
21
Normalization is an advantage for a read-only database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
22
Read-only databases are often updated.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
23
The SQL DELETE TABLE statement can be used to remove unneeded tables after the normalized tables are created and populated.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
24
Read-only databases often use several copies of a set of same data,where each copy is modified for a specific use.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
25
The multivalued,multicolumn problem occurs when a set of columns are used to store data that should actually be in one column.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
26
A defining requirement for BCNF is that every determinant must be a candidate key.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
27
Read-only databases seldom use more than one copy of a set of same data.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
28
The SQL INSERT statement can be used to populate normalized tables.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
29
The standard sales order/line item pattern is a classic example of unneeded normalization.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
30
Multivalued dependencies show up under a different name as the multivalued,multicolumn problem.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
31
Relations in BCNF have no modification anomalies in regard to functional dependencies.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
32
Denormalization is the process of joining previously normalized tables back together.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
33
Denormalization reduces the complexity of the SQL statements needed in an application to read required data.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
34
Design guidelines and priorities are the same whether you're working with an updateable database or a read-only database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
35
Multivalued dependencies create anomalies so serious that multivalued dependencies must always be eliminated.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
36
Creating a read-only database is a job often given to beginning database professionals.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
37
SQL statements can be used to create referential integrity statements for normalized tables and are created during the normalization process.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
38
To eliminate multivalued dependencies,normalize your tables so that they are all in BCNF.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
39
Denormalization is simple join the data together and store it in a table.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
40
Writing SQL subqueries and joins against normalized tables is simple compared to the code that must be written to handle anomalies from multivalued dependencies.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
41
Most DBMS products will let you define a primary key on a column that contains null values.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
42
An inconsistent values problem is created when different users have coded the same data entries differently.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
43
General-purpose remarks columns rarely contain important data.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
44
The second step in assessing table structure includes ________.

A)counting rows
B)examining columns
C)examining data values
D)A and B
E)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
45
A null value in a column may indicate that there is no appropriate value for that attribute.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
46
The first step in assessing table structure includes ________.

A)counting rows
B)examining columns
C)examining data values
D)A and B
E)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
47
During the second step of the assessing table structure,you are trying to determine ________.

A)multivalued dependencies
B)functional dependencies
C)foreign keys
D)A and B
E)A,B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
48
If you see a column name Notes,it is likely that this is a general-purpose remarks column.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
49
A null value in a column may indicate that there is an appropriate value for that attribute,and although the value is known no one has entered the value into the database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
50
The problem of misspelled data entries is an entirely different problem than the inconsistent values problem.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
51
When you are creating a database from existing data,you will have only minor problems with inconsistent values.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
52
When you are given a set of tables and asked to create a database to store their data,the first step is to ________.

A)assess the existing tables' structure and content
B)design the database structure
C)create one or more new tables
D)move the data into the new database
E)design the applications that will use the database
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
53
If you have a table with a set of columns named "Child01","Child02" and "Child03",the table has the multivalued,multicolumn problem.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
54
The SQL IS NULL keyword can be used to count the number of nulls in a column.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
55
You are creating a BOAT table using existing data from multiple sources,and you find that you have "power boat blue","boat,power,blue" and "blue power boat" as data values for the same column.This is an example of the inconsistent values problem.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
56
Null values are a problem because they are ambiguous.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
57
A missing value is called a null value.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
58
A null value in a column may indicate that there is an appropriate value for that attribute,but it is unknown.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
59
The problem with a general-purpose remarks column is that the data it contains are likely to be verbal,inconsistent and stored in a verbose manner.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
60
One situation created by the multivalued,multicolumn problem is that the maximum number of data values for an attribute is limited.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
61
For a number of reasons,________ is not often an advantage for a read-only database.

A)updating
B)normalization
C)denormalization
D)A and B
E)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
62
Read-only databases are used for ________.

A)updating
B)querying
C)reporting
D)A and B
E)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
63
The defining characteristic of BCNF is that a table is in BCNF if ________.

A)all rows are unique
B)all columns are consistent
C)the primary key is a candidate key
D)all determinants are candidate keys
E)all candidate keys are determinants
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
64
During the second step of the assessing table structure,you are trying to determine ________.

A)primary keys
B)candidate keys
C)foreign keys
D)A and B
E)A,B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
65
Unlike the anomalies from functional dependencies,the anomalies from ________ are so serious that they should always be eliminated.

A)ZIP codes
B)sales orders and line items
C)association patterns
D)multivalued dependencies
E)general purpose remarks columns
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
66
Anomalies caused by functional dependencies can be eliminated by putting tables into ________.

A)1NF
B)2NF
C)3NF
D)BCNF
E)4NF
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
67
To limit the number of rows retrieved from a table,use the SQL construct ________.

A)SELECT *
B)SELECT TOP n *
C)SELECT COUNT(TOP n)
D)SELECT COUNT(*)
E)SELECT COUNT *
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
68
An advantage of denormalization is ________.

A)faster updating
B)faster querying
C)less complex SQL in application code
D)A and B
E)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
69
The SQL keyword TOP ________.

A)limits the number of columns retrieved from a table
B)limits the number of rows retrieved from a table
C)limits the number of tables retrieved from a database
D)A and C
E)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
70
To count the number of rows in a table,use the SQL construct ________.

A)SELECT *
B)SELECT TOP n *
C)SELECT COUNT(TOP n)
D)SELECT COUNT(*)
E)SELECT COUNT *
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
71
A table designed to store PhoneNumber01,PhoneNumber02 and PhoneNumber03 contains ________.

A)the multivalued,multicolumn problem
B)the inconsistent values problem
C)the missing values problem
D)the general-purpose remarks column problem
E)None of the above is correct.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
72
When a table is created using existing data from multiple sources,you are likely to find that the different sources code data in slightly different ways.This is an example of ________.

A)the multivalued,multicolumn problem
B)the inconsistent values problem
C)the missing values problem
D)the general-purpose remarks column problem
E)None of the above is correct.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
73
The disadvantages of normalization include ________.

A)the elimination of modification anomalies
B)the elimination of duplicated data
C)more complex SQL for multitable subqueries and joins
D)A and B
E)A,B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
74
A classic example of unneeded normalization is when we are dealing with ________.

A)ZIP codes
B)sales orders and line items
C)association patterns
D)multivalued dependencies
E)general purpose remarks columns
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
75
The SQL function COUNT ________.

A)counts the number of columns in a table
B)counts the number of rows in a table
C)counts the number of tables in a database
D)A and C
E)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
76
You have been given two tables,CUSTOMER and SALE.You want to check the referential integrity constraint: SALE.CustomerNumber must exist in CUSTOMER.CustomerNumber
You run the following SQL query:
SELECT CustomerNumber
FROM SALE
WHERE CustomerNumber NOT IN
(SELECT CustomerNumber
FROM SALE,CUSTOMER
WHERE SALE.CustomerNumber = CUSTOMER.CustomerNumber);
What is shown in the results of this query?

A)All values of CustomerNumber that match the constraint.
B)All values of CustomerNumber that violate the constraint.
C)All values of CustomerNumber where
SALE.CustomerNumber = CUSTOMER.CustomerNumber.
D)A and C
E)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
77
________ is the process of joining two or more tables and storing the result as a single table.

A)Querying
B)Normalization
C)Denormalization
D)A and B
E)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
78
The advantages of normalization include ________.

A)the elimination of modification anomalies
B)the elimination of duplicated data
C)more complex SQL for multitable subqueries and joins
D)A and B
E)A,B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
79
A form of multivalued dependency is found in ________.

A)the multivalued,multicolumn problem
B)the inconsistent values problem
C)the missing values problem
D)the general-purpose remarks column problem
E)None of the above is correct.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
80
The presence of one or more foreign keys in a relation prevents ________.

A)the elimination of modification anomalies
B)the elimination of duplicated data
C)more complex SQL for multitable subqueries and joins
D)A and B
E)A,B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 100 flashcards in this deck.