1z1-071 Exam Question 251

View the Exhibit and examine the structure in the EMPLOYEEStables.

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?
  • 1z1-071 Exam Question 252

    Which two are true about unused columns?
  • 1z1-071 Exam Question 253

    View the Exhibit and examine the structure of the CUSTOMERStable.

    CUSTOMER_VUis a view based on CUSTOMERS_BR1 table which has the same structure as CUSTOMERStable.
    CUSTOMERSneed to be updated to reflect the latest information about the customers.
    What is the error in the following MERGEstatement?
  • 1z1-071 Exam Question 254

    View the Exhibit and examine the structure of the EMPLOYEES and JOB_HISTORY tables. (Choose all that apply.) 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.
  • 1z1-071 Exam Question 255

    Which two statements are true about conditional INSERT ALL? (Choose two.)