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

Oracle PL 1z0-071 Dumps PDF

Page: 3 / 24
Total 324 questions

Oracle Database 12c SQL Questions and Answers

Question 9

Examine the description of the SALES table:

The SALES table has 5,000 rows.

Examine this statement:

CREATE TABLE sales1 (prod id, cust_id, quantity_sold, price)

AS

SELECT product_id, customer_id, quantity_sold, price

FROM sales

WHERE 1=1

Which two statements are true?

Options:

A.

SALES1 is created with 1 row.

B.

SALES1 has PRIMARY KEY and UNIQUE constraints on any selected columns which had those constraints in the SALES table.

C.

SALES1 Is created with 5,000 rows.

D.

SALES1 has NOT NULL constraints on any selected columns which had those constraints in the SALES table.

Question 10

Which three statements are true regarding indexes?

Options:

A.

A SELECT statement can access one or more indices without accessing any tables.

B.

A table belonging to one user can have an index that belongs to a different user,

C.

When a table is dropped and is moved to the RECYCLE BIN, all Indexes built on that table are permanently dropped.

D.

A UNIQUE index can be altered to be non-unique.

E.

An update to a table can result in no updates to any of the table's indexes.

F.

An update to a table can result in updates to any or all of the table's indexes.

Question 11

Which two statements are true about * TABLES views?

Options:

A.

You must have SELECT privileges on a table to view it in ALL TABLES.

B.

You must have SELECT privileges on a table to view it in DBA TABLES.

C.

USER TABLES displays all tables owned by the current user.

D.

All TABLES displays all tables owned by the current user.

E.

You must have SELECT privileges on a table to view it in USER TABLES.

F.

All users can query DBA TABLES successfully.

Question 12

In which three situations does a new transaction always start?

Options:

A.

When issuing a SELECT FOR UPDATE statement after a CREATE TABLE AS SELECT statement was issued in the same session

B.

When issuing a CREATE INDEX statement after a CREATE TABLE statement completed unsuccessfully in the same session

C.

When issuing a TRUNCATE statement after a SELECT statement was issued in the same session

D.

When issuing a CREATE TABLE statement after a SELECT statement was issued in the same session

E.

When issuing the first Data Manipulation Language (OML) statement after a COMMIT or ROLLBACK statement was issued in the same session

F.

When issuing a DML statement after a DML statement filed in the same session.

Page: 3 / 24
Total 324 questions