1z0-071 試験問題 211

展示を見て、SALES、CUSTOMERS、PRODUCTS、TIMES テーブルの構造を調べてください。

PROD_ID 列は、PRODUCTS テーブルを参照する SALES テーブルの外部キーです。
CUST_ID 列と TIME_ID 列は、それぞれ CUSTOMERS テーブルと TIMES テーブルを参照する SALES テーブルの外部キーでもあります。
次のコマンドを調べてください。
CREATE TABLE new_sales (prod_id、cust_id、order_date DEFAULT SYSDATE)
として
SELECT prod_id、cust_id、time_id
売上から。
どの発言が真実ですか?
  • 1z0-071 試験問題 212

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

    NEW_EMPLOYEES テーブルのデータを調べます。

    EMPLOYEES テーブル内の既存の従業員の詳細を NEW_EMPLOYEES テーブルのデータで更新します。
    2. 新しい従業員の詳細を NEW_EMPLOYEES テーブルから EMPLOYEES テーブルに追加します。
    どのステートメントがこれを行うでしょうか?
    A)

    B)

    C)

    D)
  • 1z0-071 試験問題 214

    View the Exhibit and examine the data in the EMPLOYEES table.
    Exhibit

    You want to generate a report showing the total compensation paid to each employee to date.
    You issue the following query:

    What is the outcome?
  • 1z0-071 試験問題 215

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

    CUSTOMER_VU is a view based on CUSTOMERS_BR1 table which has the same structure as CUSTOMERS table.
    CUSTOMERS need to be updated to reflect the latest information about the customers.
    What is the error in the following MERGE statement?