Question 41

Which three statements are true about multiple row subqueries?
  • Question 42

    Which two statements are true regarding the EXISTSoperator used in the correlated subqueries?
    (Choose two.)
  • Question 43

    View the Exhibit and examine the structure of the ORDERS table.

    You must select ORDER_ID and ORDER_DATE for all orders that were placed after the last order placed by CUSTOMER_ID 101.
    Which query would give you the desired result?
  • Question 44

    View the Exhibit and examine the structure of the ORDER_ITEMS table.

    You must select the ORDER_ID of the order that has the highest total value among all the orders in the ORDER_ITEMS table.
    Which query would produce the desired result?
    SELECT order_id
  • Question 45

    View the exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS and TIMES tables.
    The PROD_ID column is the foreign key in the SALES table referencing the PRODUCTS table.
    The CUST_ID and TIME_ID columns are also foreign keys in the SALES table referencing the CUSTOMERS and TIMES tables, respectively.
    Examine this command:
    CREATE TABLE new_sales (prod_id, cust_id, order_date DEFAULT SYSDATE)
    AS
    SELECT prod_id, cust_id, time_id
    FROM sales;
    Which statement is true?