Question 26

Evaluate the following statement.

Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?
  • Question 27

    Evaluate the following SQL statement
    SQL>SELECT promo_id, prom _category FROM promotions
    WHERE promo_category='Internet' ORDER BY promo_id
    UNION
    SELECT promo_id, promo_category FROM Pomotions
    WHERE promo_category = 'TV'
    UNION
    SELECT promoid, promocategory FROM promotions WHERE promo category='Radio'
    Which statement is true regarding the outcome of the above query?
  • Question 28

    View the Exhibits and examine the structure of the costs and promotions tables.
    You want to display prod_ids whose promotion cost is less than the highest cost PR0D_ID in a promotion time interval.
    Examine this SQL statement:

    What will be the result?
  • Question 29

    View the Exhibit and examine the structure of CUSTOMERStable.
    Using the CUSTOMERStable, you need to generate a report that shows an increase in the credit limit by
    15% for all customers. Customers whose credit limit has not been entered should have the message "Not Available" displayed.
    Which SQL statement would produce the required result?
  • Question 30

    Sales data of a company is stored in two tables, SALES1and SALES2, with some data being duplicated across the tables. You want to display the results from the SALES1table, which are not present in the SALES2table.

    Which set operator generates the required output?