Question 46

Which two statements are true about views?
  • Question 47

    Examine the structure of the MARKS table:

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

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

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

    Using the PROMOTIONStable, 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 50

    You must display details of all users whose username contains the string 'ch_'. (Choose the best answer.) Which query generates the required output?