Question 86

Examine the structure of the BOOKS_TRANSACTIONS table.

You want to update this table such that BOOK_ID is 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 WHERE clause to perform the required update?
  • Question 87

    Which statement is true about SQL query processing in an Oracle database instance?
    (Choose the best answer.)
  • Question 88

    Evaluate the following statement.
    INSERT ALL
    WHEN order_total < 10000 THEN
    INTO small_orders
    WHEN order_total > 10000 AND order_total < 20000 THEN
    INTO medium_orders
    WHEN order_total > 200000 AND order_total < 20000 THEN
    INTO large_orders
    SELECT order_id, order_total, customer_id
    FROM orders;
    Which statement is true regarding the evaluation of rows returned by the subquery in the INSERT statement?
  • Question 89

    Which two statements are true about Data Manipulation Language (DML) statements?
  • Question 90

    Examine the structure of the MEMBERStable:

    You want to display details of all members who reside in states starting with the letter A followed by exactly one character.
    Which SQL statement must you execute?