When you create a query that involves a view, the DBMS changes the query to one that selects data from the table(s) in the database that created the view.β T/F
answer
True
question
The privilege ____ can be granted to retrieve data.β
answer
Select
question
Normally, when the database administrator grants a particular privilege to a user, the user cannot pass that privilege along to other users.β T/F
answer
True
question
To create a view definition, use the DEFINE VIEW command.β T/F
answer
False
question
The types of constraints supported in SQL are ____.
a.primary keys
b.All of the above
c.legal values
d.foreign keys
answer
All of above
question
A view cannot involve statistics.β T/F
answer
False
question
When renaming columns, you include the new column names in ____ following the name of the view.β
answer
parentheses
question
In Oracle, the ____ table contains information about the columns within tables
answer
DBA_TAB_COLUMNS
question
If two base tables have the same primary key and the primary key is used as the join column, updating the database is a problem.β
T/F
answer
False
question
The system catalog is also called the ____.β
answer
data dictionary
question
A view can join two or more tables.β T/F
answer
True
question
Most database management systems support the creation of views.β T/F
answer
True
question
You can add rows to a view that includes calculations.β T/F
answer
False
question
The general form for assigning a foreign key is ADD FOREIGN KEY, the column name(s) of the foreign key, the ____ clause, and then the table name that the foreign key must match.β
answer
References
question
The DROP VIEW command removes the tables and data on which the view is based.β T/F
answer
False
question
The correct command to allow user Thompson to delete rows in the CUSTOMER table would be:
GRANT ____ ON CUSTOMER TO THOMPSON.β
answer
Delete
question
The CREATE VIEW command includes the words CREATE VIEW, followed by the name of the view, the word ____, and then a query.β
answer
AS
question
The main mechanism for providing access to a database is the ____ command.β
answer
Grant
question
An auxiliary key is a column in one table whose values match the primary key in another table.β T/F
answer
False
question
When you create a view, you cannot assign column names that are different from those in the base table.βT/F
answer
False
question
The GRANT command to indicate that a user has all privileges includes the FULL privilege.β T/F
answer
False
question
A view is updatable when it is derived from joining two base tables on the ____ of each table.β
answer
primary key
question
To ensure the uniqueness of values in a nonprimary key column, use the ____ command to create an index.β
answer
CREATE UNIQUE INDEX
question
When the primary key contains more than one column, use commas to separate the column names.β T/F
answer
True
question
Views furnish a certain amount of security; if users are accessing the database through a view, they cannot access any data that is not included in the view.β T/F
answer
True
question
If the database structure changes, the user cannot access and use the view.β T/F
answer
False
question
The existing, permanent tables in a relational database are called stable tables.β T/F
answer
False
question
Views provide a measure of security.β T/F
answer
True
question
An index makes certain types of retrieval more efficient.β T/F
answer
True
question
To create a view in Access, create a query to define the view and then save the query object in the database.β T/F
answer
True
question
Access does not support the DROP VIEW command.β T/F
answer
True
question
In a business organization, a person or an entire group known as the ____ is charged with managing the database.β
answer
database administrator
question
In Oracle, the ____ table contains information about the tables known to SQL.β
answer
DBA_TABLES
question
When you specify a foreign key, the table containing the foreign key is the parentβ T/F
answer
False
question
When you specify a foreign key, the table referenced by the foreign key is the ____.
answer
Parent
question
The clause WITH GRANT OPTION is meaningful as part of a REVOKE command.β T/F
answer
False
question
You can only specify a primary key when you first create a table. T/Fβ
answer
False
question
The defining query can be any transaction. T/F
answer
False
question
Which of the following commands deletes an index?β
answer
DROP INDEX
question
The command to delete a view is ____.β
answer
DROP VIEW
question
When users create, alter, or drop tables or create or drop indexes, the DBMS updates the system catalog automatically T/F
answer
True
question
The privilege ____ can be granted to change data.β
answer
UPDATE
question
A view that involves statistics calculated from one or more base tables is the easiest view when attempting to update data. T/Fβ
answer
False
question
You can create and maintain an index for any row in any table.β
T/F
answer
False
question
A view is a derived table.β T/F
answer
True
question
The database administrator uses the ____ command to revoke privileges from users.β
answer
REVOKE
question
Views provide data validation.β T/F
answer
False
question
With a view, the display of data can be customized to meet each user's needs.β T/F
answer
True
question
The privilege ____ can be granted to change the table structure.β
answer
ALTER
question
A(n) ____ is an application program's or an individual user's picture of the database.β
answer
View
question
The defining query can be any transaction.β T/F
answer
False
Haven't found what you need?
Search for quizzes and test answers now
Quizzes.studymoose.com uses cookies. By continuing you agree to our cookie policy