Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Oracle PL 1z0-071 Exam Questions and Answers PDF

Page: 5 / 24
Total 324 questions

Oracle Database 12c SQL Questions and Answers

Question 17

.No user-defined locks are used in your database.

Which three are true about Transaction Control Language (TCL)?

Options:

A.

COMMIT erases all the transaction’s savepoints and releases its locks.

B.

COMMIT ends the transaction and makes all its changes permanent.

C.

ROLLBACK without the TO SAVEPOINT clause undoes all the transaction's changes but does not release its locks.

D.

ROLLBACK to SAVEPOTNT undoes the transaction's changes made since the named savepoint and then ends the transaction.

E.

ROLLBACK without the TO SAVEPOINT clause undoes alt the transaction's changes, releases its locks, and erases all its savepoints.

F.

ROLLBACK without the TO SAVEPOINT clause undoes all the transaction's changes but does not erase its savepoints.

Question 18

Which two are true about self joins?

Options:

A.

They are always equijoins.

B.

They require the NOT EXISTS operator in the join condition.

C.

They have no join condition.

D.

They can use INNER JOIN and LEFT JOIN.

E.

They require table aliases.

F.

They require the EXISTS opnrator in the join condition.

Question 19

Examine the description of the CUSTOMERS table:

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*';

Question 20

which is true about the round,truncate and mod functions>?

Options:

A.

ROUND(MOD(25,3),-1) IS INVALID

B.

ROUND(MOD(25,3),-1) AND TRUNC(MOD(25,3),-1) ARE BOTH VALID AND GIVE THE SAME RESULT.

C.

ROUND(MOD(25,3),-1) AND TRUNC(MOD(25,3),-1) ARE BOTH VALID AND GIVE THE DIFFERENT RESULTS.

D.

TRUNC(MOD(25,3),-1) IS INVALID.

Page: 5 / 24
Total 324 questions