Question 66

You execute these commands:
CREATE TABLE customers (customer id INTEGER, customer name VARCHAR2 (20));
INSERT INTO customers VALUES (1,'Custmoer1 ');
SAVEPOINT post insert;
INSERT INTO customers VALUES (2, 'Customer2 ');
<TODO>
SELECTCOUNT (*) FROM customers;
Which two, used independently, can replace <TODO> so the query retums 1?
  • Question 67

    In the PROMOTIONS table, the PROMO_ BEGIN_DATE column is of data type and the default date format is DD-MON-RR
    Which two statements are true about expressions using PROMO_ BEGIN_DATE in a query?
  • Question 68

    View the exhibit and examine the structure of ORDERS and CUSTOMERS tables.
    ORDERS
    Name
    Null?
    Type
    ORDER_ID
    NOT NULL
    NUMBER(4)
    ORDER_DATE
    NOT NULL
    DATE
    ORDER_MODE
    VARCHAR2(8)
    CUSTOMER_ID
    NOT NULL
    NUMBER(6)
    ORDER_TOTAL
    NUMBER(8, 2)
    CUSTOMERS
    Name
    Null?
    Type
    CUSTOMER_ID
    NOT NULL
    NUMBER(6)
    CUST_FIRST_NAME
    NOT NULL
    VARCHAR2(20)
    CUST_LAST_NAME
    NOT NULL
    VARCHAR2(20)
    CREDIT_LIMIT
    NUMBER(9,2)
    CUST_ADDRESS
    VARCHAR2(40)
    Which INSERT statement should be used to add a row into the ORDERS table for the customer whose CUST_LAST_NAME is Roberts and CREDIT_LIMIT is 600? Assume there exists only one row with CUST_LAST_NAME as Roberts and CREDIT_LIMIT as 600.
  • Question 69

    Which three statements are true about views in an Oracle Database?
  • Question 70

    Examine the description of the EMPLOYEES table:

    Examine this query:

    Which line produces an error?