final exam review 5 Flashcards

1
Q

In the normalization process, if you find a candidate key that is not a determinant then you should NOT

a. place the columns of the functional dependency in a new relation
b. make the determinant of the function dependency the primary key of the new relation
c. rename the determinant to another attribute description
d. leave a copy of the determinant as a foreign key in the original relation

A

c. rename the determinant to another attribute description

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In moving your data model from the logical to the physical, which is NOT true

a. relations become tables
b. ID Dependent weak entities require referential integrity constraints
c. Attribute domains become intersection tables
d. all are true

A

c. attribute domains become intersection tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

In many-to-many relationships in a relational database design

a. the intersection table is ID dependent on one of the parents
b. the intersection table is ID dependent on both of the parents
c. the minimum cardinality from the interaction table to each of the parents is one
d. b and c

A

d. b and c

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

a virtual table that is constructed from other tables or views

A

SQL view

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

entire area of one or both tables

A

union

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

area in table A not in table B

A

Complement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

allows you to group rows in a data set and summarize values in designated columns. Can be used in conjunction with the aggregate function to group the result by one or more columns

A

GROUP BY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A subquery that refers to values from the outer query in its execution.

A

Correlated subquery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly