weaknesses from midterm 2 Flashcards

1
Q

When does an INNER Join occur?

A

You join two tables based on values in one table being equal to values in another table.

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

What happens to an inner join when no values exist for a given attribute in a record participating in the operation

A

The join does not return that specific record in the result.

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

Do every single TABLE in the relational model qualify as a RELATION?

A

The short answer is No.

To qualify strictly as a relation, a table must meet certain conditions (such as each row being unique, each column having a unique name, no repeating groups, etc.). If a table violates these conditions (for example, by having duplicate rows, non-atomic values, or ordering assumptions), then it technically doesn’t qualify as a “relation” in the strict relational-model sense—even though in practice, we often still call it a “table.”

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

A RELATION in the relational model correponds in the ER Diagram to:

A

Entity Types

AND

Many-to-Many Relationship Types

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

What is it called when the primary key on the one side becomes a foreign key on the many side?

A

One-to-Many

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

What is the relationship for this scenario: “Create a new relation with the primary keys of the two entities as its primary key”

A

Many-to-Many

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

When mapping binary relatwionships from ER diagrams into relations “the primary key on the mandatory side becomes a foreign key on the optional side?”

A

One-to-One

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

What are functional dependencies?

A

Functional dependencies describe a relationship where one attribute (or a set of attributes) uniquely determines another attribute in a relation.

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