Question 136

View the Exhibit and examine the structure in the EMPLOYEES tables.

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?
  • Question 137

    Which two tasks can be performed by using Oracle SQL statements? (Choose two.)
  • Question 138

    Examine the description of the ENPLYEES table:

    Which two queries return all rows for employees whose salary is greater than the average salary in their department?
  • Question 139

    Examine the description of the SALES1 table:

    SALES2 is a table with the same description as SALES1,
    Some sales data is duplicated In both tables.
    You want to display the rows from the SALES1 table which are not present in the SALIES2 table.
    Which set operator generates the required output?
  • Question 140

    View the Exhibit and examine the details of the PRODUCT_INFORMATION table. (Choose two.) Evaluate this SQL statement:
    SELECT TO_CHAR (list_price, '$9,999')
    From product_information;
    Which two statements are true regarding the output?