Question 1
Question
You can join tables by using a condition in the ____ clause.
Question 2
Question
Which of the following joins compares the tables in the FROM clause and lists only those rows that satisfy the condition in the WHERE clause?
Answer
-
inner
-
outer
-
nested
-
product
Question 3
Question
In a(n) ____ join, all rows from both tables are included regardless of whether they match rows from the other table.
Answer
-
normal
-
inner
-
full outer
-
combined
Question 4
Question
In a ____, all rows from the table on the left (the table listed first in the query) will be included regardless of whether they match rows from the table on the right (the table listed second in the query).
Answer
-
left inner join
-
left outer join
-
right inner join
-
right outer join
Question 5
Question
In a ____, all rows from the table on the right will be included regardless of whether they match rows from the table on the left.
Answer
-
left inner join
-
left outer join
-
right outer join
-
right inner join
Question 6
Question
The CREATE VIEW command includes the words CREATE VIEW, followed by the name of the view, the word ____, and then a query.
Question 7
Question
The main mechanism for providing access to a database is the ____ command.
Answer
-
PERMIT
-
ACCESS
-
GRANT
-
REVOKE
Question 8
Question
The correct command to allow user Thompson to delete rows in the CUSTOMER table would be:
GRANT ____ ON CUSTOMER TO THOMPSON.
Answer
-
DROP
-
REMOVE
-
UPDATE
-
DELETE
Question 9
Question
The privilege ____ can be granted to retrieve data.
Answer
-
SELECT
-
UPDATE
-
RETRIEVE
-
READ
Question 10
Question
When you specify a foreign key, the table referenced by the foreign key is the ____.
Answer
-
super
-
sibling
-
parent
-
child
Question 11
Question
The privilege ____ can be granted to change data.
Answer
-
WRITE
-
UPDATE
-
ALTER
-
READ AND WRITE
Question 12
Question
The privilege ____ can be granted to change the table structure.
Answer
-
WRITE
-
UPDATE
-
ALTER
-
MODIFY
Question 13
Question
To create a stored procedure in Oracle, use the ____ command.
Answer
-
CREATE ROUTINE
-
CREATE SCRIPT
-
CREATE PROCEDURE
-
CREATE EXECUTABLE
Question 14
Question
A(n) ____ is a procedure that is executed automatically in response to an associated database operation.
Answer
-
cursor
-
trigger
-
waypoint
-
fetchpoint