Joins Flashcards

(10 cards)

1
Q

Returns all values from one table even if match not found

A

Outer Join

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

All requested results, values of common columns returned only once. Duplicate
column eliminated. If there are no common column names, NATURAL JOIN results
into a CARTESIAN PRODUCT (CROSS JOIN)

A

Natural Join

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

Uses only field values in tables that are equal. Returns all requested results including values of common columns.

A

Equi Join

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

Requires each record in two tables to have matching records.

A

Inner Join

Weird wording. It selects matching values in 2 tables.

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

Joins rows based on matched values and returns rows from both tables.

A

Full Outer Join

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

Joins rows based on matched values. The result includes unmatched rows from the
table on the left of the JOIN clause.

A

Left Outer Join

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

Joins rows based on matched values. The result includes unmatched rows from the
table on the right of the JOIN clause.

A

Right Outer Join

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

Joins the table to itself

A

Self Join

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

Cartesian product of tables. Combines each row from the first table with each row from
the second table

A

Cross Join

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

Returns a table that includes all data from each table. Both tables (or views) must
have the same number of columns and the data types of both columns must be same.
Strictly, not a join.

A

Union

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