Chapter 12 Study Questions Flashcards

1
Q

A(n) ____ consists of a SELECT statement that is stored as an object in a database. It behaves like a virtual table. It does not store any data.

A

view

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

Table(s) referenced in the SELECT statement for a view definition are called ___________.

A

base tables

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

A view can also be referred to as a(n) _____________ because it provides a view to the underlying base table(s).

A

viewed table

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

___________________ is the benefit or advantage provided by views that is described as limiting the exposure of tables to external users and applications.

A

Design independence

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

The benefit of _____________ describes that views can restrict access to the data in a table by using the select clause to include only selected columns of a table, or by using the where clause to include only selected rows in a table.

A

data security

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

____________________ is view benefit because views can be used to hide the complexity of retrieval operations.

A

simplified queries

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

The view benefit termed ____________ means with certain restrictions, views can be used to update, insert, and delete data from a base table.

A

updatability

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

A view that is biased on another view rather than on a [base] table is known as a ____________.

A

nested view

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

A(n) ______________ is a view that can be used in an INSERT, UPDATE, or DELETE statement to update data in base table.

A

updatable view

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

If a view is not updatable, it is called a(n) _____________.

A

read-only view

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

If the ________________ clause is not included when creating a view, a change made through the view can cause modified rows to no longer be included in the view.

A

with check option

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

If a __________________clause is specified when creating a view, an error will occur should there be an attempt to modify a row in such a way that it would no longer be included in the view.

A

with check option

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

To alter a view, use the ______________________ statement to replace an existing view with a new one.

A

create or replace view

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

The ______ statement issued to delete a view from the database.

A

delete

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