Free 1Z0-071 Exam Dumps

Question 61

Evaluate the following SQL statements that are issued in the given order:
CREATE TABLE emp
(emp_no NUMBER(2) CONSTRAINT emp_emp_no_pk PRIMARY KEY, ename VARCHAR2(15),
salary NUMBER (8,2),
mgr_no NUMBER(2) CONSTRAINT emp_mgr_fk REFERENCES emp(emp_no)); ALTER TABLE emp
DISABLE CONSTRAINT emp_emp_no_pk CASCADE; ALTER TABLE emp
ENABLE CONSTRAINT emp_emp_no_pk;
What would be the status of the foreign key EMP_MGR_PK?

Correct Answer:B

Question 62

The user SCOTT who is the owner of ORDERS and ORDER_ITEMS tables issues the following GRANT command:
GRANT ALL
ON orders, order_items TO PUBLIC;
What correction needs to be done to the above statement?

Correct Answer:D
References:
http://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqljgrant.html

Question 63

A non-correlated subquery can be defined as . (Choose the best answer.)

Correct Answer:A

Question 64

On your Oracle 12c database, you invoked SQL *Loader to load data into the EMPLOYEES table in the HR schema by issuing the following command:
$> sqlldr hr/hr@pdb table=employees
Which two statements are true regarding the command?

Correct Answer:AC

Question 65

View the exhibit and examine the data in ORDERS_MASTER and MONTHLY_ORDERS tables.
ORDERS_MASTER ORDER_ID ORDER_TOTAL
1
1000
2
2000
3
3000
4
MONTHLY_ORDERS ORDER_ID ORDER_TOTAL
2
2500
3
Evaluate the following MERGE statement: MERGE_INTO orders_master o
USING monthly_orders m ON (o.order_id = m.order_id) WHEN MATCHED THEN
UPDATE SET o.order_total = m.order_total DELETE WHERE (m.order_total IS NULL) WHEN NOT MATCHED THEN
INSERT VALUES (m.order_id, m.order_total)
What would be the outcome of the above statement?

Correct Answer:B
References:
https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm