Question 146

View the Exhibit and examine the structure of the PORDUCT_INFORMATION table. (Choose the best answer.)

PRODUCT_ID column is the primary key.
You create an index using this command:
SQL > CREATE INDEX upper_name_idx
ON product_information(UPPER(product_name));
No other indexes exist on the PRODUCT_INFORMATION table.
Which query would use the UPPER_NAME_IDX index?
  • Question 147

    .No user-defined locks are used in your database.
    Which three are true about Transaction Control Language (TCL)?
  • Question 148

    Examine this query:
    SELECT employee_id, first_name, salary
    FROM employees
    WHERE hiredate > 61*
    Which two methods should yours to prevent prompting for hire date value when this queries executed?
  • Question 149

    View the Exhibit and examine the structure in the DEPARTMENTS tables. (Choose two.)

    Examine this SQL statement:
    SELECT department_id "DEPT_ID", department_name, 'b' FROM
    departments
    WHERE departments_id=90
    UNION
    SELECT department_id, department_name DEPT_NAME, 'a' FROM
    departments
    WHERE department_id=10
    Which two ORDER BY clauses can be used to sort output?
  • Question 150

    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?