Question 41

View the Exhibit and examine the structure of the ORDERStable.

Which UPDATE statement is valid?
UPDATE orders
  • Question 42

    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.
  • Question 43

    Examine the description of the EMPLOYEES table:

    Which two queries return rows for employees whose manager works in a different department?
  • Question 44

    Which three statements are true regarding group functions? (Choose three.)
  • Question 45

    Which two statements are true about a self join? (Choose two.)