Question 46

Which two statements are true about sequences created in a single instance Oracle database? (Choose two.)
  • Question 47

    View the Exhibit and examine the structure of the ORDERS table. The ORDER_ID column is the PRIMARY KEY in the ORDERS table.

    Evaluate the following CREATE TABLE command:
    CREATE TABLE new_orders(ord_id, ord_date DEFAULT SYSDATE, cus_id)
    AS
    SELECT order_id.order_date,customer_id
    FROM orders;
    Which statement is true regarding the above command?
  • Question 48

    View the exhibit and examine the description of the PRODUCT_INFORMATION table.

    Which SQL statement would retrieve from the table the number of products having LIST_PRICE as NULL?
  • Question 49

    View the Exhibit and examine the structure of the PRODUCTS table. Which two tasks require subqueries?
  • Question 50

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

    You are asked to retrieve the ORDER_ID,product_ID, and total price (UNIT_PRICEmultiplied by QUANTITY), where the total price is greater than 50,000.
    You executed the following SQL statement:
    SELECTprder_id, product_id, unit_price*quantity "Total Price"
    FROM order_items
    WHERE unit_price*quantity > 50000
    NATURAL JOIN orders;
    Which statement is true regarding the execution of the statement?