1z0-071 試験問題 21

View the Exhibit and examine the data in the PRODUCTS table. (Choose the best answer.)

You must display product names from the PRODUCTS table that belong to the 'Software/other' category with minimum prices as either $2000 or $4000 and with no unit of measure.
You issue this query:
SQL > SELECT prod_name, prod_category, prod_min_price FROM products
Where prod_category LIKE '%Other%' AND (prod_min_price = 2000 OR prod_min_price = 4000) AND prod_unit_of_measure <> ' '; Which statement is true?
  • 1z0-071 試験問題 22

    Examine this partial command:

    Which two clauses are required for this command to execute successfully?
  • 1z0-071 試験問題 23

    These are the steps for a correlated subquery, listed in random order:
    * The WHERE clause of the outer query is evaluated.
    * A candidate row is fetched from the table specified in the outer query.
    * This is repeated for the subsequent rows of the table, until all the rows are processed.
    * Rows are returned by the inner query, after being evaluated with the value from the candidate row in the outer query.
    Which is the correct sequence in which the Oracle server evaluates a correlated subquery?
  • 1z0-071 試験問題 24

    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?
  • 1z0-071 試験問題 25

    ORDERS テーブルの構造を調べます: (最良の回答を選択してください)。

    各年のすべての注文の合計金額を調べて、次のコマンドを実行するとします。
    SQL> SELECT TO_CHAR(order_date,'rr'), SUM(order_total) FROM 注文
    GROUP BY TO_CHAR(order_date, 'yyyy');
    結果に関して正しいのはどれですか?