Question 166

View the Exhibit and examine the structure of ORDERS and ORDER_ITEMS tables.
ORDER_ID is the primary key in the ORDERS table and the foreign key of the ORDER_ITEMS table, whose constraint is defined with the ON DELETE CASCADE option.
Which DELETE statement would execute successfully?
  • Question 167

    Examine the structure of the BOOKS_TRANSACTIONS table:

    Examine the SQL statement:

    Which statement is true about the outcome?
  • Question 168

    Examine this query:
    SELECT SUBSTR (SYSDATE,1,5) 'Result' FROM DUAL
    Which statement is true?
  • Question 169

    View the exhibit and examine the ORDERS table.

    The ORDERS table contains data and all orders have been assigned a customer ID. Which statement would add a NOT NULL constraint to the CUSTOMER_ID column?
  • Question 170

    You need to display the date 11-oct-2007 in words as 'Eleventh of October, Two Thousand Seven'.
    Which SQL statement would give the required result?