Weekend Sale Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bigdisc65

Oracle PL 1z0-071 Oracle Study Notes

Page: 5 / 24
Question 20

You execute these commands:

CREATE TABLE customers (customer id INTEGER, customer name VARCHAR2 (20));

INSERT INTO customers VALUES (1,‘Custmoer1 ‘);

SAVEPOINT post insert;

INSERT INTO customers VALUES (2, ’Customer2 ‘);

SELECTCOUNT (*) FROM customers;

Which two, used independently, can replace so the query retums 1?

Options:

A.

ROLLBACK;

B.

COMMIT;

C.

ROLIBACK TO SAVEPOINT post_ insert;

D.

CONOIT TO SAVEPOINT post_ insert;

E.

ROLLEBACK TO post_ insert;

Question 21

Which three statements are true about GLOBAL TEMPORARY TABLES?

Options:

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 22

Examine the data in the ORDERS table:

Examine the data in the INVOICES table:

Examine this query:

SELECT order_ id, order_ date FROM orders

INTERSECT

SELECT order_ 1d, order_ date FROM invoices;

Which two rows will it return?

Options:

A.

3

B.

2

C.

1

D.

5 01-MAR-2019

E.

4 01-FEB-2019

F.

3 01-JAN-2019

Question 23

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;

Page: 5 / 24
Exam Code: 1z0-071
Exam Name: Oracle Database 12c SQL
Last Update: May 9, 2024
Questions: 324
1z0-071 pdf

1z0-071 PDF

$28  $80
1z0-071 Engine

1z0-071 Testing Engine

$33.25  $95
1z0-071 PDF + Engine

1z0-071 PDF + Testing Engine

$45.5  $130