Question 86

View the exhibit and examine the structure and data in the INVOICE table.

Which two SQL statements would execute successfully? (Choose two.)
  • Question 87

    Which two queries will result in an error?
  • Question 88

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

    View the Exhibit and examine the structure of the ORDERS table.

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

    View the exhibit and examine the ORDERStable.

    The ORDERStable contains data and all orders have been assigned a customer ID. Which statement would add a NOTNULLconstraint to the CUSTOMER_IDcolumn?