Database Programming Section 10 Quiz
Database Programming Section 10 Quiz
Section 10 Quiz
(Answer all questions in this section)
True
False (*)
[Correct] Correct
False
[Correct] Correct
The WITH clause stores the results for the user who runs the query.
The WITH clause retrieves the results of one or more query blocks.
The WITH clause decreases performance. (*)
[Correct] Correct
[Correct] Correct
LIKE (*)
ALL
ANY
IN
[Correct] Correct
The <> operator returns the same result as the ANY operator in a
subquery.
The <> operator CANNOT be used in a single-row subquery.
[Correct] Correct
IN
<> (*)
ANY
ALL
[Correct] Correct
Only the employees whose job id matches employee 141 and who
work in location 1500 (*)
An error since you canメt get data from two tables in the same
subquery
[Correct] Correct
EMPLOYEES
EMPLOYEE_ID NUMBER(9)
LAST_NAME VARCHAR2(25)
FIRST_NAME VARCHAR2(25)
DEPARTMENT_ID NUMBER(9)
MANAGER_ID NUMBER(9)
SALARY NUMBER(7,2)
DEPART_HIST:
EMPLOYEE_ID NUMBER(9)
OLD_DEPT_ID NUMBER(9)
NEW_DEPT_ID NUMBER(9)
CHANGE_DATE DATE
(*)
Only one
Two or more
None
[Correct] Correct
ANY
>
= (*)
[Correct] Correct
[Correct] Correct
All the rows in the PLAYER table would be returned by the outer
query.
[Correct] Correct
False