1Z0-071 Dumps

1Z0-071 Free Practice Test

Oracle 1Z0-071: Oracle Database 12c SQL

QUESTION 21

View the exhibit and examine the descriptions of the DEPT and LOCATIONS tables.
1Z0-071 dumps exhibit
You want to update the CITY column of the DEPT table for all the rows with the corresponding value in the CITY column of the LOCATIONS table for each department.
Which SQL statement would you execute to accomplish the task?

Correct Answer: D

QUESTION 22

Which statement is true regarding the default behaviour of the ORDER by clause?

Correct Answer: C

QUESTION 23

View the exhibit and examine the description of the EMPLOYEES table. (Choose two.)
1Z0-071 dumps exhibit
You executed this SQL statement: SELECT first_name, department_id, salary FROM employees
ORDER BY department_id, first_name, salary desc; Which two statements are true regarding the result?

Correct Answer: AB

QUESTION 24

View the Exhibit and examine the structure of the EMPLOYEES and JOB_HISTORY tables. (Choose all that apply.)
1Z0-071 dumps exhibit
Examine this query which must select the employee IDs of all the employees who have held the job SA_MAN at any time during their employment.
SELECT EMPLOYEE_ID FROM EMPLOYEES WHERE JOB_ID = 'SA_MAN'
------------------------------------- SELECT EMPLOYEE_ID FROM JOB_HISTORY WHERE JOB_ID = 'SA_MAN';
Choose two correct SET operators which would cause the query to return the desired result.

Correct Answer: AD

QUESTION 25

View the Exhibit and examine the structure of the CUSTOMERS table.
1Z0-071 dumps exhibit
Using the CUSTOMERS table, you must generate a report that displays a credit limit increase of 15% for all customers.
Customers with no credit limit should have “Not Available” displayed. Which SQL statement would produce the required result?

Correct Answer: C