Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Oracle Database 12c SQL

Last Update 8 hours ago Total Questions : 326

The Oracle Database 12c SQL content is now fully updated, with all current exam questions added 8 hours ago. Deciding to include 1z0-071 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our 1z0-071 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these 1z0-071 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any Oracle Database 12c SQL practice test comfortably within the allotted time.

Question # 31

Which two queries execute successfully?

A.

SELECT INTERVAL ' 1 ' DAY - SYSDATE FROM DUAL;

B.

SELECT SYSTIMESTAMP + INTERVAL ' 1 ' DAY FROM DUAL;

C.

SELECT INTERVAL ' 1 ' DAY - INTERVAL ' 1 ' MINUTE FROM DUAL;

D.

select INTERVAL ' 1 ' DAY +INTERVAL ' 1 ' MONTH FROM DUAL;

E.

SELECT SYSDATE “INTERRVAL ' 1 ' DAY FROM DUAL;

Question # 32

Which statement is true about aggregate functions?

A.

The AVG function implicitly converts NULLS to zero

B.

The MAX and MIN functions can be used on columns with character data types

C.

Aggregate functions can be used in any clause of a SELECT statement

D.

Aggregate functions can be nested to any number of levels

Question # 33

Which two statements are true about single row functions?

A.

CONCAT: can be used to combine any number of values

B.

MOD: returns the quotient of a division operation

C.

CEIL: can be used for positive and negative numbers

D.

FLOOR: returns the smallest integer greater than or equal to a specified number

E.

TRUNC: can be used with NUMBER and DATE values

Question # 34

Which two statements are true about truncate and delete?

A.

the result of a delete can be undone by issuing a rollback

B.

delete can use a where clause to determine which row(s) should be removed.

C.

TRUNCATE can use a where clause to determine which row(s) should be removed.

D.

truncate leavers any indexes on the table in an UNUSABLE STATE.

E.

the result of a truncate can be undone by issuing a ROLLBACK.

Question # 35

Which statement will execute successfully?

A.

SELECT 1, 2 FROM DUAL

UNION

SELECT 3, 4 FROM DUAL

ORDER BY 1, 2;

B.

SELECT 3 FROM DUAL

UNION

SELECT 4 FROM DUAL

ORDER BY 3 ;

C.

SELECT 1, 2 FROM DUAL

UNION

SELECT 3, 4 FROM DUAL

ORDER BY 3, 4;

D.

SELECT 1 FROM DUAL

UNION

SELECT 2 FROM DUAL

ORDER BY 1, 2;

Question # 36

Which three privileges can be restricted to a subset of columns in a table?

A.

ALTER

B.

REFERENCES

C.

UPDATE

D.

SELECT

E.

INDEX

F.

INSERT

G.

DELETE

Question # 37

Which three statements are true about GLOBAL TEMPORARY TABLES?

A.

GLOBAL TEMPORARY TABLE rows inserted by a session are available to any other session whose user has been granted select on the table.

B.

A TRUNCATE command issued in a session causes all rows In a GLOBAL TEMPORARY TABLE for the issuing session to be deleted.

C.

A DELETE command on a GLOBAL TEMPORARY TABLE cannot be rolled back.

D.

A GLOBAL TEMPORARY TABLE ' s definition is available to multiple sessions.

E.

Any GLOBAL TEMPORARY TABLE rows existing at session termination will be deleted.

F.

GLOBAL TEMPORARY TABLE space allocation occurs at session start.

Question # 38

Which two are true about scalar subquery expressions?

A.

You cannot correlate them with a table in the parent statement

B.

You can use them as a default value for a column.

C.

.You must enclose them in parentheses.

D.

They can return at most one row.

E.

They can return two columns.

Question # 39

Which two statements are true about Oracle databases and SQL?

A.

Updates performed by a database user can be rolled back by another user by using the ROLLBACK command.

B.

The database guarantees read consistency at select level on user-created tablers.

C.

When you execute an UPDATE statement, the database instance locks each updated row.

D.

A query can access only tables within the same schema.

E.

A user can be the owner of multiple schemas In the same database.

Question # 40

Examine the data in the CUST_NAME column of the CUSTOMERS table:

CUST_NAME

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

Renske Ladwig

Jason Mallin

Samuel McCain

Allan MCEwen

Irene Mikkilineni

Julia Nayer

You want to display the CUST_NAME values where the last name starts with Mc or MC.

Which two WHERE clauses give the required result?

A.

WHERE UPPER(SUBSTR(cust_name, INSTR(cust_name,’ ’) + 1)) LIKE UPPER( ' MC% ' )

B.

WHERE SUBSTR(cust_name, INSTR(cust_name,’ ’) + 1) LIKE ' Mc%’ OR ' MC%’

C.

WHERE INITCAP(SUBSTR(cust_name, INSTR(cust_name,’ ’) + 1)) IN (‘MC%’,’Mc%’)

D.

WHERE INITCAP(SUBSTR(cust_name, INSTR(cust_name,’ ' ) + 1)) LIKE ‘Mc%’

E.

WHERE SUBSTR(cust_name, INSTR(cust_name,’ ‘) + 1) LIKE ‘Mc%’

Go to page: