New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: Board70

Pearson 1z0-071 New Attempt

Page: 17 / 24
Question 68

Which three statements are true about performing DML operations on a view with no Instead of triggers defined?

Options:

A.

WITH CHECK clause has no effect when deleting rows from the underlying table through the view.

B.

Insert statements can always be done on a table through a view.

C.

Views cannot be used to add rows to an underlying table if the table has columns with NOT NULL constraints lacking default values which are not referenced in the defining query of the view.

D.

Views cannot be used to add or modify rows in an underlying table if the defining query of the view contains the DISTINCT keyword.

E.

Delete statements can always be done on a table tough a view.

F.

Views cannot be used to query rows from an underlying table if the table has a PRIMARY KEY and the PRIMARY KEY columns are not referenced in the defining query of the view.

Question 69

You execute this command:

TRUNCATE TABLE dept;

Which two are true?

Options:

A.

It drops any triggers defined on the table.

B.

It retains the indexes defined on the table.

C.

It retains the integrity constraints defined on the table.

D.

A ROLLBACK statement can be used to retrieve the deleted data.

E.

It always retains the space used by the removed rows.

F.

A FLASHBACK TABLE statement can be used to retrieve the deleted data.

Question 70

Examine this query which executes successfully;

Select job,deptno from emp

Union all

Select job,deptno from jobs_history;

What will be the result?

Options:

A.

It will return rows from both select statements after eliminating duplicate rows.

B.

It will return rows common to both select statements.

C.

It will return rows both select statements including duplicate rows.

D.

It will return rows that are not common to both select statements.

Question 71

Examine the description of the EMPLOYEES table:

The session time zone is the same as the database server

Which two statements will list only the employees who have been working with the company for more than five years?

Options:

A.

SELECT employee_ name FROM employees WHERE (SYSDATE – hire_ data) / 365>5

B.

SELECT employee_ name FROM employees WHERE (SYSTIMESTAMP – hire_ data) / 365>

C.

SELECT employee_ name FROM employees WHERE (CUARENT_ DATE – hire_ data / 365>5

D.

SELECT employee_ name FROM employees WHERE (SYSNAYW – hire_ data / 12> 3

E.

SELECT employee_ name FROM employees WHERE (SYSNAYW – hire_ data / 12> 3

F.

SELECT employee_ name FROM employees WHERE (CUNACV_ DATE – hire_ data / 12> 3

Page: 17 / 24
Exam Code: 1z0-071
Exam Name: Oracle Database 12c SQL
Last Update: Dec 22, 2024
Questions: 326
1z0-071 pdf

1z0-071 PDF

$25.5  $84.99
1z0-071 Engine

1z0-071 Testing Engine

$28.5  $94.99
1z0-071 PDF + Engine

1z0-071 PDF + Testing Engine

$40.5  $134.99