Question 121

View the Exhibit and examine the details of the PRODUCT_INFORMATION table.

Evaluate this SQL statement:
SELECT TO_CHAR (list_price, '$9,999')
From product_information;
Which two statements are true regarding the output? (Choose two.)
  • Question 122

    Examine the structure of the ORDERS table: (Choose the best answer.)

    You want to find the total value of all the orders for each year and issue this command:
    SQL> SELECT TO_CHAR(order_date,'rr'), SUM(order_total) FROM orders
    GROUP BY TO_CHAR(order_date, 'yyyy');
    Which statement is true regarding the result?
  • Question 123

    Examine the commands used to create DEPARTMENT_DETAILS and COURSE_DETAILS:

    You want to generate a report that shows all course IDs irrespective of whether they have corresponding department IDs or not but no department IDs if they do not have any courses.
    Which SQL statement must you use?
  • Question 124

    Which three statements are true about Oracle synonyms?
  • Question 125

    Examine the structure of the MEMBERStable.
    Name Null? Type
    - --------------- ----------------- ---------------------------
    MEMBER_ID NOT NULL VARCHAR2 (6)
    FIRST_NAME VARCHAR2 (50)
    LAST_NAME NOT NULL VARCHAR2 (50)
    ADDRESS VARCHAR2 (50)
    CITY VARCHAR2 (25)
    STATE NOT NULL VARCHAR2 (3)
    Which query can be used to display the last names and city names only for members from the states MO and MI?