Question 61

View the Exhibit and examine the structure of the CUSTOMERS and CUST_HISTORY tables.
The CUSTOMERS table contains the current location of all currently active customers.
The CUST_HISTORY table stores historical details relating to any changes in the location of all current as well as previous customers who are no longer active with the company.
You need to find those customers who have never changed their address.
Which SET operator would you use to get the required output?
  • Question 62

    Examine the structure of the BOOKS_TRANSACTIONStable.

    You want to update this table such that BOOK_IDis set to 'INVALID'for all rows where no MEMBER_ID has been entered.
    Examine this partial SQL statement:

    Which condition must be used in the WHEREclause to perform the required update?
    MEMBER_ID = '';
  • Question 63

    Examine the structure of the PROMOTIONS table: (Choose the best answer.)

    Management requires a report of unique promotion costs in each promotion category.
    Which query would satisfy this requirement?
  • Question 64

    Which three statements about roles are true?
  • Question 65

    You want to display 5 percent of the rows from the SALEStable for products with the lowest AMOUNT_SOLD and also want to include the rows that have the same AMOUNT_SOLDeven if this causes the output to exceed 5 percent of the rows.
    Which query will provide the required result?