質問 1:View the Exhibit and examine the descriptions of ORDER_ITEMS and ORDERS tables. You want to display the CUSTOMER_ID, PRODUCT_ID, and total (UNIT_PRICE multiplied by
QUANTITY) for the order placed. You also want to display the subtotals for a CUSTOMER_ID as
well as for a PRODUCT ID for the last six months.
Which SQL statement would you execute to get the desired output?
A. SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi. quantity) "Total
FROM order_items oi JOIN orders o
ON oi.order_id=o.order_id
GROUP BY ROLLUP (o.customer_id, oi.product_id)
WHERE MONTHS_BETWEEN(order_ date,SYSDATE)<=6;
B. SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi. quantity) "Total
FROM order_items oi JOIN orders o
ON oi.order_id=o.order_id
GROUP BY ROLLUP (o.customer_id, oi.product_id)
HAVING MONTHS_BETWEEN(order_ date,SYSDATE)<=6;
C. SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi. quantity) "Total
FROM order_items oi JOIN orders o
ON oi.order_id=o.order_id
WHERE MONTHS_BETWEEN(order date,SYSDATE)<=6
GROUP BY ROLLUP (o.customer_id, oi.product_id);
D. SELECT o.customer_id, oi.product_id, SUM(oi.unit_price*oi. quantity) "Total
FROM order_items oi JOIN orders o
ON oi.order_id=o.order_id
GROUP BY ROLLUP (o.customer_id, oi.product_id)
WHERE MONTHS_BETWEEN(order_ date,SYSDATE)>=6;
正解:C
質問 2:Evaluate the following ALTER TABLE statement:
ALTER TABLE orders SET UNUSED order_date;
Which statement is true?
A. After executing the ALTER TABLE command, you can add a new column called ORDER_DATE to the ORDERS table.
B. ROLLBACK can be used to get back the ORDER_DATE column in the ORDERS table.
C. The ORDER_DATE column should be empty for the ALTER TABLE command to execute successfully.
D. The DESCRIBE command would still display the ORDER_DATE column.
正解:A
質問 3:Which statements are true regarding the usage of the WITH clause in complex correlated subqueries? (Choose all that apply.)
A. The query name in the WITH clause is visible to other query blocks in the WITH clause as well as to the main query block.
B. The WITH clause can hold more than one query.
C. If the query block name and the table name were the same, then the table name would take precedence.
D. It can be used only with the SELECT clause.
正解:A,B,D
質問 4:View the Exhibit and examine the data in EMPLOYEES and
DEPARTMENTS tables. In the EMPLOYEES table EMPLOYEE_ID is the PRIMARY KEY and
DEPARTMENT_ID is the FOREIGN KEY. In the DEPARTMENTS table DEPARTMENT_ID is the
PRIMARY KEY.
Evaluate the following UPDATE statement:
UPDATE employees a
SET department_jd =
(SELECT department_id
FROM departments
WHERE location_id = '2100'),
(salary, commission_pct) =
(SELECT 1.1*AVG(salary), 1.5*AVG(commission_pct)
FROM employees b
WHERE a. department_jd = b. department_id)
WHERE first_name|| '||last_name = 'Amit Banda';
What would be the outcome of the above statement?
A. It would not execute successfully because the condition specified with the concatenation operator is not valid.
B. It would not execute successfully because there is no LOCATION_ID 2100 in the DEPARTMENTS table.
C. It would execute successfully and update the relevant data.
D. It would not execute successfully because multiple columns (SALARY,COMMISSION_PCT)cannot be used in an UPDATE statement.
正解:C
質問 5:Which statement is true regarding Flashback Version Query?
A. It returns versions of rows only within a transaction.
B. It will return an error if the undo retention time is less than the lower bound time or SCN specified.
C. It retrieves all versions including the deleted as well as subsequently reinserted versions of the rows.
D. It can be used in subqueries contained only in a SELECT statement.
正解:C
質問 6:Which two statements are true regarding the GROUP BY clause in a SQL statement? (Choose two.)
A. Using the WHERE clause after the GROUP BY clause excludes the rows after creating groups.
B. The GROUP BY clause is mandatory if you are using an aggregate function in the SELECT clause.
C. You can use column alias in the GROUP BY clause.
D. Using the WHERE clause before the GROUP BY clause excludes the rows before creating groups.
E. If the SELECT clause has an aggregate function, then those individual columns without an aggregate function in the SELECT clause should be included in the GROUP BY clause.
正解:D,E
弊社は失敗したら全額で返金することを承諾します
我々は弊社の1Z0-047問題集に自信を持っていますから、試験に失敗したら返金する承諾をします。我々のOracle 1Z0-047を利用して君は試験に合格できると信じています。もし試験に失敗したら、我々は君の支払ったお金を君に全額で返して、君の試験の失敗する経済損失を減少します。
弊社は無料Oracle 1Z0-047サンプルを提供します
お客様は問題集を購入する時、問題集の質量を心配するかもしれませんが、我々はこのことを解決するために、お客様に無料1Z0-047サンプルを提供いたします。そうすると、お客様は購入する前にサンプルをダウンロードしてやってみることができます。君はこの1Z0-047問題集は自分に適するかどうか判断して購入を決めることができます。
1Z0-047試験ツール:あなたの訓練に便利をもたらすために、あなたは自分のペースによって複数のパソコンで設置できます。
弊社のOracle 1Z0-047を利用すれば試験に合格できます
弊社のOracle 1Z0-047は専門家たちが長年の経験を通して最新のシラバスに従って研究し出した勉強資料です。弊社は1Z0-047問題集の質問と答えが間違いないのを保証いたします。
この問題集は過去のデータから分析して作成されて、カバー率が高くて、受験者としてのあなたを助けて時間とお金を節約して試験に合格する通過率を高めます。我々の問題集は的中率が高くて、100%の合格率を保証します。我々の高質量のOracle 1Z0-047を利用すれば、君は一回で試験に合格できます。
Oracle 1Z0-047 認定試験の出題範囲:
トピック | 出題範囲 |
---|
トピック 1 | - Report Aggregated Data Using the Group Functions
|
トピック 2 | |
トピック 3 | - Use Single-Row Functions to Customize Output
|
参照:http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=652&get_params=p_exam_id:1Z0-047
TopExamは君に1Z0-047の問題集を提供して、あなたの試験への復習にヘルプを提供して、君に難しい専門知識を楽に勉強させます。TopExamは君の試験への合格を期待しています。
一年間の無料更新サービスを提供します
君が弊社のOracle 1Z0-047をご購入になってから、我々の承諾する一年間の更新サービスが無料で得られています。弊社の専門家たちは毎日更新状態を検査していますから、この一年間、更新されたら、弊社は更新されたOracle 1Z0-047をお客様のメールアドレスにお送りいたします。だから、お客様はいつもタイムリーに更新の通知を受けることができます。我々は購入した一年間でお客様がずっと最新版のOracle 1Z0-047を持っていることを保証します。
安全的な支払方式を利用しています
Credit Cardは今まで全世界の一番安全の支払方式です。少数の手続きの費用かかる必要がありますとはいえ、保障があります。お客様の利益を保障するために、弊社の1Z0-047問題集は全部Credit Cardで支払われることができます。
領収書について:社名入りの領収書が必要な場合、メールで社名に記入していただき送信してください。弊社はPDF版の領収書を提供いたします。