ch7-ppt Flashcards

(9 cards)

1
Q

JOIN

A

bring together data from more than one table into one table

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

common domain

A

one foreign key and one primary key will be the same. computers way of matching relationships

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

two approaches of join

A

explicit join and subquery

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

inner join

A

aka equi-join. match based on equality in common columns. only matched columns are returned.

ON column=column

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

outer join

A

all records returned from one table, whether they match or not

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

subquery

A

place an inner query within a WHERE or HAVING clause of another outer query.

outer query is what is actally displayed

one query output is put into one query input

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

two types of subqueriese

A

1-noncorrelated

2-correlated

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

noncorrelated subquery

A

do not depend on data from outer query

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

correlated subquery

A

use formula on the data of outer query

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