1z0-071 Exam Question 16

Examine the structure of the MARKStable:

Which two statements would execute successfully? (Choose two.)
SELECT SUM(DISTINCT NVL(subject1,0)), MAX(subject1)
  • 1z0-071 Exam Question 17

    Examine the structure of the EMPLOYEES table. (Choose two.)

    You must display the maximum and minimum salaries of employees hired 1 year ago.
    Which two statements would provide the correct output?
  • 1z0-071 Exam Question 18

    Which three statements are true about views in an Oracle Database? (Choose three.)
  • 1z0-071 Exam Question 19

    View the Exhibit and examine PRODUCTS and ORDER_ITEMS tables.

    You executed the following query to display PRODUCT_NAME and the number of times the product has been ordered:
    SQL>SELECT p.product_name, i.item_cnt
    FROM (SELECT product_id, COUNT (*) item_cnt
    FROM order_items
    GROUP BY product_id) i RIGHT OUTER JOIN products p
    ON i.product_id = p.product_id;
    What would happen when the above statement is executed?
  • 1z0-071 Exam Question 20

    View the Exhibit and examine the structure in the DEPARTMENTS tables. (Choose two.)

    Examine this SQL statement:
    SELECT department_id "DEPT_ID", department_name, 'b' FROM
    departments
    WHERE departments_id=90
    UNION
    SELECT department_id, department_name DEPT_NAME, 'a' FROM
    departments
    WHERE department_id=10
    Which two ORDER BY clauses can be used to sort output?