1z0-071 Exam Question 151

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

You must select ORDER_ID and ORDER_DATE for all orders that were placed after the last order placed by CUSTOMER_ID 101.
Which query would give you the desired result?
  • 1z0-071 Exam Question 152

    Examine the structure of the EMPLOYEEStable.

    There is a parent/child relationship between EMPLOYEE_IDand MANAGER_ID.
    You want to display the last names and manager IDs of employees who work for the same manager as the employee whose EMPLOYEE_IDis 123.
    Which query provides the correct output?
  • 1z0-071 Exam Question 153

    See the Exhibit and examine the structure of the PROMOTIONS table:

    Using the PROMOTIONS table,
    you need to find out the average cost for all promos in the range $0-2000 and $2000-5000 in category A.
    You issue the following SQL statements:

    What would be the outcome?
  • 1z0-071 Exam Question 154

    See the Exhibit and examine the structure of the PROMOTIONS table:

    Using the PROMOTIONS table,
    you need to find out the average cost for all promos in the range $0-2000 and $2000-5000 in category A.
    You issue the following SQL statements:

    What would be the outcome?
  • 1z0-071 Exam Question 155

    Examine the description of the CUSTOMERStable:

    You want to display details of all customers who reside in cities starting with the letter D followed by at least two characters.
    Which query can be used?
    SELECT * FROM customers WHERE city = 'D_%';