Chapter 8 Flashcards

1
Q

The ______ determines the common attribute or attributes by looking for identically named attributes and compatible data types

A

Natural Join

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

When using a _________ , the output of an inner query is used as the input for the outer query.

A

Subquery

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

The having clause is used to restrict the output of a __________ query by applying a conditional criteria to the grouped rows.

A

HAVING

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

The IN subquery uses an ________ operator.

A

Equality

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

The use of the ________ operator allows you to compare a single value with a list of values returned by the first subquery using a comparison operator other than EQUALS

A

ALL

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

A _________ subquery is a subquery that executes once for each row in the outer query.

A

Correlated

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

The _______ statement combines the output of two SELECT queries.

A

UNION

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

A ________ query can be used to produce a relation that retains the duplicate rows.

A

UNION ALL

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

The _________ statement can be used to combine rows from two queries, returning only the rows that appear in both sets.

A

INTERSECT

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

If the DBMS does not support the INTERSECT statement, one can use an _________ to achieve the same result.

A

IN

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

An _________ view is a view that can be used to update attributes in the base tables that are used in the view.

A

Updatable

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

A _________ routine pools multiple transactions into a single batch to update a master table field in a single operation.

A

Batch Update

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

A row-level trigger requires use of the ____________ keywords and is executed once for each row affected by the triggering statement.

A

FOR EACH ROW

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. When the critical application code is isolated in a single program, improves
A

Maintenance and Logic Control

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

_______ is the term used to describe an environment in which the SQL statement is not known in
advance and is generated at run time.

A

Dynamic SQL

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