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

1z0-071 Exam Dumps - Oracle Database 12c SQL

Go to page:
Question # 17

which three statements are true about indexes and their administration in an Oracle database?

A.

The same table column can be part of a unique and non-unique index

B.

A DESCENDING INDEX IS A type of function-based index

C.

A DROP INDEX statement always prevents updates to the table during the drop operation

D.

AN INVISIBLE INDEX is not maintained when DML is performed on its underlying table.

E.

AN INDEX CAN BE CREATED AS part of a CREATE TABLE statement

F.

IF a query filters on an indexed column then it will always be used during execution of query

Full Access
Question # 18

Examine the description of the countries table:

Examine the description of the departments table:

Examine the description of the locations table:

Which two queries will return a list of countries with no departments?

A)

B)

C)

D)

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Full Access
Question # 19

Which two statements are true about CURRENT_TIMEITAMP?

A.

The date is in the time zone of DBTIMEZONE.

B.

The value varies depending on the setting of SESSIONTIMEZONE.

C.

It returns the same date as CURRENT_DATE.

D.

The time is in the time zone of DBTIMEZONE.

E.

It returns a value of data type TIMESTAMP

F.

It always returns the same value as SYSTIMESTAMP

Full Access
Question # 20

Which two are true about granting privilege on objects?

A.

The owner of an object acquires all object privilege on that object by default.

B.

The WITH GRANT OPTION clause can be used only by DBA users.

C.

A table owner must grant the references privilege to allow other users to create FOREIGN KEY constraints using that table.

D.

An object privilege can be granted to a role only by the owner of that object.

E.

An object privilege can be granted to other users only by the owner of object.

Full Access
Question # 21

Which three are true about privileges?

A.

Schema owners can grant object privileges on objects in their schema to any other user or role.

B.

A combination of object and system privileges can be granted to a role.

C.

All types of schema objects have associated object privileges .

D.

Only users with the DBA role can create roles .

E.

Object privileges granted on a table automatically apply to all synonyms for that table.

F.

Only users with the GRANT ANY PRIVILEGE privilege can grant and revoke system privileges from other users.

Full Access
Question # 22

View the Exhibits and examine the structure of the COSTS and PROMOTIONS tables.

You want to display PROD IDS whose promotion cost is less than the highest cost PROD ID in a pro

motion time interval.

Examine this SQL statement:

SELECT prod id

FROM costs

WHERE promo id IN

(SELECT promo id

FROM promotions

WHERE promo_cost < ALL

(SELECT MAX (promo cost)

FROM promotions

GROUP BY (promo_end date-promo_begin_date)) );

What will be the result?

A.

It executes successfully but does not give the required result.

B.

It gives an error because the ALL keyword is not valid.

C.

It gives an error because the GROUP BY clause is not valid

D.

It executes successfully and gives the required result.

Full Access
Question # 23

Examine the description or the CUSTOMERS table:

For Customers whose income level has a value, you want to display the first name and due amount as 5% of their credit limit. Customers whose due amount is null should not be displayed.

Which query should be used?

A.

SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMOUNT FROM customers

WHERE cust_income_level != NULL AND cust_credit_level != NULL;

B.

SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMONT FROM customers

WHERE cust_income_level <> NULL AND due_amount <> NULL;

C.

SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMONT FROM customers

WHERE cust_income_level IS NOT NULL AND cust_credit_limit IS NOT NULL;

D.

SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMONT FROM customers

WHERE cust_income_level IS NOT NULL AND due_amount IS NOT NULL;

E.

SELECT cust_first_name, cust_credit_limit * .05 AS DUE_AMONT FROM customers

WHERE cust_income_level != NULL AND due_amount != NULL;

Full Access
Question # 24

Table EMPLOYEES contains columns including EMPLOYEE_ID, JOB_ID and SALARY.

Only the EMPLOYEES_ID column is indexed.

Rows exist for employees 100 and 200.

Examine this statement:

UPDATE employees

SET (job_id, salary) =

(SELECT job_id, salary

FROM employees

WHERE employee_id = 200)

WHERE employee id=100;

Which two statements are true?

A.

Employees 100 and 200 will have the same SALARY as before the update command.

B.

Employee 100 will have SALARY set to the same value as the SALARY of employee 200.

C.

Employee 100 will have JOB_ID set to the same value as the JOB_ID of employee 200.

D.

Employees 100 and 200 will have the same JOB ID as before the update command.

E.

Employee 200 will have SALARY set to the same value as the SALARY of employee 100.

F.

Employee 200 will have JOB_ID set to the same value as the JOB_ID of employee 100

Full Access
Go to page: