1z0-071 Exam Question 51

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

Which UPDATE statement is valid?
  • 1z0-071 Exam Question 52

    View the exhibits and examine the structures of the COSTS and PROMOTIONS tables.


    Evaluate the following SQL statement:
    SQL> SELECT prod_id FROM costs
    WHERE promo_id IN (SELECT promo_id FROM promotions
    WHERE promo_cost < ALL
    (SELECT MAX(promo_cost) FROM promotions
    GROUP BY (promo_end_date-
    promo_begin_date)));
    What would be the outcome of the above SQL statement?
  • 1z0-071 Exam Question 53

    Examine this SQL statement:
    SELECT cust_id, cust_last_name "Last Name
    FROM customers
    WHERE countryid=10
    UNION
    SELECT custid CUSTNO, cust_last_name
    FROM customers
    WHERE countryid=30
    Identify three ORDER BY clauses, any one of which can complete the query successfully.
  • 1z0-071 Exam Question 54

    View the Exhibit and examine the data in the PRODUCTS table. (Choose the best answer.)

    You must display product names from the PRODUCTS table that belong to the 'Software/other' category with minimum prices as either $2000 or $4000 and with no unit of measure.
    You issue this query:
    SQL > SELECT prod_name, prod_category, prod_min_price FROM products
    Where prod_category LIKE '%Other%' AND (prod_min_price = 2000 OR prod_min_price = 4000) AND prod_unit_of_measure <> ' '; Which statement is true?
  • 1z0-071 Exam Question 55

    Examine the description of the EMPLOYEES table:

    Which statement will execute successfully, returning distinct employees with non-null first names?