1Z0-071 · Question #9
You execute the following commands: For which substitution variables are you prompted for the input?
The correct answer is D. Only 'mgr_id'. SQL> define hiredate = ’01-APR-2011′ SQL> select employee_id, first_name, salary 2 from employees 3 where hire_date > ‘&hiredate’ 4 and manager_id > &mgr_id; old 3: where hire_date > ‘&hiredate’ new 3: where hire_date > ’01-APR-2011′ Enter value for mgr_id: 13 old 4: and…
Question
You execute the following commands:
For which substitution variables are you prompted for the input?
Exhibit
Options
- ANone, because no input required
- BBoth the substitution variables 'hiredate' and 'mgr_id\
- COnly 'hiredate'
- DOnly 'mgr_id'
How the community answered
(55 responses)- A15% (8)
- B5% (3)
- C4% (2)
- D76% (42)
Explanation
SQL> define hiredate = ’01-APR-2011′ SQL> select employee_id, first_name, salary 2 from employees 3 where hire_date > ‘&hiredate’ 4 and manager_id > &mgr_id; old 3: where hire_date > ‘&hiredate’ new 3: where hire_date > ’01-APR-2011′ Enter value for mgr_id: 13 old 4: and manager_id > &mgr_id new 4: and manager_id > 13 no rows selected
Topics
Community Discussion
No community discussion yet for this question.
