1Z0-071 Dumps

1Z0-071 Free Practice Test

Oracle 1Z0-071: Oracle Database 12c SQL

QUESTION 1

Using the CUSTOMERS table, you need to generate a report that shows 50% of each credit amount in each income level. The report should NOT show any repeated credit amounts in each income level.
Which query would give the required result?

Correct Answer: B

QUESTION 2

You want to display 5 percent of the rows from the SALES table for products with the lowest AMOUNT_SOLD and also want to include the rows that have the same AMOUNT_SOLD even if this causes the output to exceed 5 percent of the rows.
Which query will provide the required result?

Correct Answer: A

QUESTION 3

Examine the structure of the CUSTOMERS table: (Choose two.)
1Z0-071 dumps exhibit
CUSTNO is the PRIMARY KEY.
You must determine if any customers' details have been entered more than once using a different CUSTNO, by listing all duplicate names.
Which two methods can you use to get the required result?

Correct Answer: AB

QUESTION 4

Evaluate the following ALTER TABLE statement:
ALTER TABLE orders
SET UNUSED (order_date); Which statement is true?

Correct Answer: A

QUESTION 5

View the Exhibit and examine the structure in the EMPLOYEES tables.
1Z0-071 dumps exhibit
Evaluate the following SQL statement: SELECT employee_id, department_id FROM employees
WHERE department_id= 50 ORDER BY department_id UNION
SELECT employee_id, department_id FROM employees
WHERE department_id=90 UNION
SELECT employee_id, department_id
FROM employees
WHERE department_id=10;
What would be the outcome of the above SQL statement?

Correct Answer: D