1z0-071 試験問題 171

INVOICE テーブルの構造とデータを表示および表示し、調査します。

クエリ式のデータ型変換に関して正しい 2 つの記述はどれですか? (2つお選びください。)
  • 1z0-071 試験問題 172

    View the Exhibit and examine the details of the PRODUCT_INFORMATION table. (Choose two.)

    Evaluate this SQL statement:
    SELECT TO_CHAR(list_price,'$9,999')
    From product_information;
    Which two statements are true regarding the output? (Choose two.)
  • 1z0-071 試験問題 173

    View the Exhibit and examine the structure of the CUSTOMERS table.

    You want to generate a report showing the last names and credit limits of all customers whose last names start with A, B, or C, and credit limit is below 10,000.
    Evaluate the following two queries:
    SQL> SELECT cust_last_name, cust_credit_limit FROM customers
    WHERE (UPPER(cust_last_name) LIKE 'A%' OR
    UPPER (cust_last_name) LIKE 'B%' OR UPPER (cust_last_name) LIKE 'C%')
    AND cust_credit_limit < 10000;
    SQL>SELECT cust_last_name, cust_credit_limit FROM customers
    WHERE UPPER (cust_last_name) BETWEEN 'A' AND 'C'
    AND cust_credit_limit < 10000;
    Which statement is true regarding the execution of the above queries?
  • 1z0-071 試験問題 174

    View the Exhibit and examine the description of the EMPLOYEEStable.

    You want to calculate the total remuneration for each employee. Total remuneration is the sum of the annual salary and the percentage commission earned for a year. Only a few employees earn commission.
    Which SQL statement would you execute to get the desired output?
    SELECT first_name, salary, salary*12+(salary*NVL2 (commission_pct,
  • 1z0-071 試験問題 175

    View the exhibit and examine the structure and data in the INVOICE table.

    Which two SQL statements would execute successfully? (Choose two.)
    SELECT MAX(AVG(SYSDATE -inv_date))