1z0-071 Exam Question 126

View the Exhibit and examine the structure of the EMPLOYEES and JOB_HISTORY tables.

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.
  • 1z0-071 Exam Question 127

    Which two statements will return the names of the three employees with the lowest salaries?
  • 1z0-071 Exam Question 128

    View the Exhibit and examine the structure of the ORDER_ITEMS table. (Choose the best answer.)

    You must select the ORDER_ID of the order that has the highest total value among all the orders in the ORDER_ITEMS table.
    Which query would produce the desired result?
  • 1z0-071 Exam Question 129

    View the Exhibit and examine the description of the EMPLOYEEStable.

    Evaluate the following SQL statement:
    SELECT first_name, employee_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), 1) "Review" FROM employees; The query was written to retrieve the FIRST_NAME, EMPLOYEE_ID,and review date for employees. The review date is the firsts Monday after the completion of six months of the hiring. The NLS_TERRITORY parameter is set to AMERICAin the session.
    Which statement is true regarding this query?
  • 1z0-071 Exam Question 130

    View the Exhibit and examine the data in the PROMOTIONS table.

    PROMO_BEGIN_DATE is stored in the default date format, dd-mon-rr.
    You need to produce a report that provides the name, cost, and start date of all promos in the POST category that were launched before January 1, 2000.
    Which SQL statement would you use?