Question 76

Examine this description of the PRODUCTS table:

Rows exist in this table with data in all the columns. You put the PRODUCTS table in read-only mode.
Which three commands execute successfully on PRODUCTS?
  • Question 77

    Examine this statement:
    CREATE TABTE orders
    (sarial_no NUMBER UNIQUE,
    order_id NUMBER PRIMARY KEY ,
    order_date DATE NOT NULL,
    status VARCHAR2 (10) CHECK (status IN ('CREDIT', 'CASH')),
    product_id NUMBER REFERENCES products (product_id),
    order_ total NUMBER);
    On which two columns of the table will an index be created automatically?
  • Question 78

    Examine the structure of the members table:

    Which query can be used to display the last names and city names only for members from the states MO and MI?
    A)

    B)

    C)

    D)
  • Question 79

    View the exhibit and examine the structure of the CUSTOMERStable.

    Which two tasks would require subqueries or joins to be executed in a single statement?
  • Question 80

    Examine the structure of the EMPLOYEEStable:

    There is a parent/child relationship between EMPLOYEE_IDand MANAGER_ID.
    You want to display the name, joining date, and manager for all employees. Newly hired employees are yet to be assigned a department or a manager. For them, 'No Manager' should be displayed in the MANAGERcolumn.
    Which SQL query gets the required output?
    SELECT e.last_name, e.hire_date, NVL(m.last_name, 'No Manager') Manager