Month End Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale65best

Oracle 1z0-071 Exam Made Easy: Step-by-Step Preparation Guide

Questions 91

Examine this partial command:

CREATE TABLE cust(

cust_id NUMBER(2),

credit_limit NUMBER(10)

ORGANIZATION EXTERNAL

Which two clauses are required for this command to execute successfully?

Options:
A.

the ACCESS PARAMETERS clause

B.

the DEFAULT DIRECTORY clause

C.

the access driver TYPE clause

D.

the LOCATION clause

E.

the REJECT LIMIT clause

Oracle 1z0-071 Premium Access
Questions 92

Examine the description of the transactions table:

Which two SQL statements execute successfully?

Options:
A.

SELECT customer_id AS "CUSTOMER-ID", transaction_date AS DATE, amount+100 "DUES" from transactions;

B.

SELECT customer_id AS 'CUSTOMER-ID',transaction_date AS DATE, amount+100 'DUES' from transactions;

C.

SELECT customer_id CUSTID, transaction_date TRANS_DATE,amount+100 DUES FROM transactions;

D.

SELECT customer_id AS "CUSTOMER-ID", transaction_date AS "DATE", amount+100 DUES FROM transactions;

E.

SELECT customer id AS CUSTOMER-ID, transaction_date AS TRANS_DATE, amount+100 "DUES AMOUNT" FROM transactions;

Questions 93

Examine these statements which execute successfully:

1z0-071 Question 93

Both statements display departments ordered by their average salaries.

Which two are true?

Options:
A.

Only the second statement will display departments with no employees.

B.

Only the first statement will display departments with no employees.

C.

Both statements will execute successfully If you add e.avg_sal to the select list.

D.

Both statements will display departments with no employees.

E.

Only the first statement will execute successfully if you add E.AVG_SAK to the select list.

F.

Only the second statement will execute successfully if you add E.AVG_SAL to the select list.

Questions 94

Examine this SQL statement:

DELETE FROM employees e

WHERE EXISTS

(SELECT'dummy'

FROM emp_history

WHERE employee_id = e.employee_id)

Which two are true?

Options:
A.

The subquery is executed for every row in the EMPLOYEES table.

B.

The subquery is not a correlated subquery.

C.

The subquery is executed before the DELETE statement is executed.

D.

All existing rows in the EMPLOYEE table are deleted.

E.

The DELETE statement executes successfully even if the subquery selects multiple rows.

Questions 95

Which two are true about constraints?

Options:
A.

Constraints are enforced only during INSERT operations.

B.

A column with a foreign key constraint can never contain a null value.

C.

All constraints can be defined at the table or column level.

D.

A constraint can be disabled even if the constrained column contains data.

E.

A column with a UNIQUE constraint can contain a NULL value.

Questions 96

Which three statements are true about the DESCRIBE command?

Options:
A.

It can be used from SQL Developer.

B.

It can be used to display the structure of an existing view.

C.

It can be used only from SQL*Plus.

D.

It displays the NOT NULL constraint for any columns that have that constraint.

E.

It displays all constraints that are defined for each column.

F.

It displays the PRIMARY KEY constraint for any column or columns that have that constraint.

Questions 97

Examine the description of the CUSTOMERS table:

1z0-071 Question 97

Which two SELECT statements will return these results:

CUSTOMER_ NAME

--------------------

Mandy

Mary

Options:
A.

SELECT customer_ name FROM customers WHERE customer_ name LIKE ' % a % ’ ;

B.

SELECT customer_ name FROM customers WHERE customer name LIKE 'Ma%' ;

C.

SELECT customer_ name FROM customers WHERE customer_ name='*Ma*';

D.

SELECT customer_ name FROM customers WHERE UPPER (customer_ name ) LIKE 'MA*. ;

E.

SELECT customer_ name FROM customers WHERE customer name LIKE 'Ma*';

F.

SELECT customer_ name FROM customers WHERE UPPER (customer name) LIKE 'MA&';

G.

SELECT customer_ name FROM customers WHERE customer_ name KIKE .*Ma*';