Question 126

View the Exhibit and examine the description of the PRODUCT_INFORMATION table. Which SQL statement would retrieve from the table the number of products having
LIST_PRICE as NULL?
  • Question 127

    The following are the steps for a correlated subquery, listed in random order:
    1. The WHEREclause of the outer query is evaluated.
    2. The candidate row is fetched from the table specified in the outer query.
    3. This is repeated for the subsequent rows of the table, till all the rows are processed.
    4. Rows are returned by the inner query, after being evaluated with the value from the candidate row in the outer query.
    Which is the correct sequence in which the Oracle server evaluates a correlated subquery?
  • Question 128

    View the exhibit and examine the description of the DEPARTMENTS and EMPLOYEES tables.

    You wrote this SQL statement to retrieve EMPLOYEE_ID, FIRST_NAME, and DEPARTMENT NAME, for all employees:
    SELECT employee_id, first_name, department_name
    FROM employees
    NATURAL JOIN departments;
    The desired output is not obtained after executing the above SQL statement. What could be the reason for this?
  • Question 129

    Which two are true about the NVL, NVL2, and COALESCE functions?
  • Question 130

    Which three SQL statements would display the value 1890.55 as $1,890.55? (Choose three.)