Number: 1z0-071
Passing Score: 800
Time Limit: 120 min
ORACLE
Oracle Database 12c SQL
1Z0-071 Exam
,Exam A
QUESTION 1
You issue the following command to drop the PRODUCTS table:
SQL > DROP TABLE products;
Which three statements are true about the implication of this command?
A. All data along with the table structure is deleted.
B. A pending transaction in the session is committed.
C. All indexes on the table remain but they are invalidated.
D. All views and synonyms on the table remain but they are invalidated.
E. All data in the table is deleted but the table structure remains.
Correct Answer: ABD
Section: (none)
Explanation
Explanation/Reference:
QUESTION 2
You execute the following commands:
SQL > DEFINE hiredate = '01-APR-2011'
SQL >SELECT employee_id, first_name, salary
FROM employees
WHERE hire_date > '&hiredate'
AND manager_id > &mgr_id;
For which substitution variables are you prompted for the input?
A. none, because no input required
B. both the substitution variables ''hiredate' and 'mgr_id'.
C. only hiredate'
D. only 'mgr_id'
Correct Answer: D
,Section: (none)
Explanation
Explanation/Reference:
QUESTION 3
View the Exhibit and examine the structure of ORDERS and ORDER_ITEMS tables.
ORDER_ID is the primary key in the ORDERS table. It is also the foreign key in the ORDER_ITEMS table wherein it is created with the ON DELETE CASCADE option.
Which DELETE statement would execute successfully?
, A. DELETE orders o, order_items I
WHERE o.order_id = i.order_id;
B. DELETE
FROM orders
Passing Score: 800
Time Limit: 120 min
ORACLE
Oracle Database 12c SQL
1Z0-071 Exam
,Exam A
QUESTION 1
You issue the following command to drop the PRODUCTS table:
SQL > DROP TABLE products;
Which three statements are true about the implication of this command?
A. All data along with the table structure is deleted.
B. A pending transaction in the session is committed.
C. All indexes on the table remain but they are invalidated.
D. All views and synonyms on the table remain but they are invalidated.
E. All data in the table is deleted but the table structure remains.
Correct Answer: ABD
Section: (none)
Explanation
Explanation/Reference:
QUESTION 2
You execute the following commands:
SQL > DEFINE hiredate = '01-APR-2011'
SQL >SELECT employee_id, first_name, salary
FROM employees
WHERE hire_date > '&hiredate'
AND manager_id > &mgr_id;
For which substitution variables are you prompted for the input?
A. none, because no input required
B. both the substitution variables ''hiredate' and 'mgr_id'.
C. only hiredate'
D. only 'mgr_id'
Correct Answer: D
,Section: (none)
Explanation
Explanation/Reference:
QUESTION 3
View the Exhibit and examine the structure of ORDERS and ORDER_ITEMS tables.
ORDER_ID is the primary key in the ORDERS table. It is also the foreign key in the ORDER_ITEMS table wherein it is created with the ON DELETE CASCADE option.
Which DELETE statement would execute successfully?
, A. DELETE orders o, order_items I
WHERE o.order_id = i.order_id;
B. DELETE
FROM orders