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

Newly Released Oracle 1z0-071 Exam PDF

Page: 21 / 24
Total 326 questions

Oracle Database 12c SQL Questions and Answers

Question 81

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 82

Which three actions can you perform only with system privileges?

Options:

A.

Truncate a table in another schema.

B.

Access flat files via a database, which are stored in an operating system directory.

C.

Log in to a database.

D.

Query any table in a database.

E.

Use the WITH GRANT OPTION clause.

F.

Execute a procedure in another schema.

Question 83

Examine this partial statement:

SELECT ename, sal,comm FROM emp

Now examine this output:

WHICH ORDER BY clause will generate the displayed output?

Options:

A.

ORDER BY NVL(enam,0) DESC, ename

B.

ORDER BY NVL(comm,0) ASC NULLS FIRST, ename

C.

ORDER BY NVL(comm,0) ASC NULLS LAST, ename

D.

ORDER BY comm DESC NULLS LAST, ename

Question 84

Which three statements are true about single-row functions?

Options:

A.

The data type returned can be different from the data type of the argument.

B.

They can be nested to any level.

C.

They return a single result row per table.

D.

They can accept only one argument.

E.

The argument can be a column name, variable, literal or an expression.

F.

They can be used only in the WHERE clause of a SELECT statement.

Page: 21 / 24
Total 326 questions