[2024年08月最新リリース]1z0-071日本語問題集でOracle PL/SQL Developer Certified Associate認証 [Q165-Q184]

Share

[2024年08月最新リリース]1z0-071日本語問題集でOracle PL/SQL Developer Certified Associate認証

最新の完璧な1z0-071日本語問題集問題と解答で100%パスさせます

質問 # 165
データを含むPRODCTSテーブルの説明を調べます。

どちらが正しいですか?

  • A. PROD_ ID列のデータ型をVARCHAR2(2)に変更できます。
  • B. EXPIRYDATE列のデータ型をTIMESTAMPに変更できます。
  • C. PRODNAME列にDEFAULT句を追加することはできません。
  • D. PRODID列の名前を変更できます。
  • E. EXPIRYDATE列は削除できません。

正解:B、D


質問 # 166
PRODUCTSテーブルの次の説明を調べます。

このテーブルには行が存在し、すべての列にデータがあります。 PRODUCTSテーブルを読み取り専用モードにします。 PRODUCTSで正常に実行される3つのコマンドはどれですか?

  • A. ALTERTABLE製品は未使用の列を削除します
  • B. ALTERTAELE製品DROPCOLUMN expiry_date;
  • C. ALTERTABLE製品SETUNUSED(expiry_date);
  • D. 商品のCREATE INDEX price_idx(価格);
  • E. TRUNCATETABLE製品;
  • F. DROPTABLE製品

正解:A、D、F

解説:
B). CREATE INDEX price_idx on products (price); E. ALTER TABLE products DROP UNUSED COLUMNS; F. DROP TABLE products.
Comprehensive and Detailed Explanation WITH all References:
When a table is in read-only mode, most types of modifications are prohibited. However, certain operations can still be performed.
A). Incorrect. You cannot drop a column from a table that is in read-only mode, as it is a modifying operation.
B). Correct. You can create an index on a read-only table. Creating an index does not modify the actual rows within the table; it builds a separate structure used for faster access. C. Incorrect. The SET UNUSED statement marks one or more columns as unused so they can be dropped when the database is not busy. This operation is considered a modifying operation and therefore is not allowed on a read-only table. D. Incorrect.
Truncate is a DDL operation that would delete all rows from a table. This operation is not allowed on a read-only table. E. Correct. The ALTER TABLE ... DROP UNUSED COLUMNS statement is used to drop columns that have been previously marked as unused using the SET UNUSED statement. This operation is allowed because it only affects previously marked unused columns, not actively used data. F. Correct.
Dropping a table is allowed even if it's in read-only mode because it is a DDL operation that does not operate on the rows of the table but rather on the object itself.
The behavior of read-only tables and the operations that can be performed on them are detailed in the Oracle Database SQL Language Reference and Oracle Database Administrator's Guide.


質問 # 167
次のコマンドを実行します。
ALTERTABLEの従業員SETUNUSED(department_id);
どちらが正しいですか?

  • A. クエリはDEPARTMENT_ID列のデータを表示できます。
  • B. テーブル内のすべてのトウのDEPARTMENT_ID列がnullに設定されている
  • C. DEPARTMENT_ID列のデータを更新することはできません。
  • D. DEPARTMENT_ID列によって占有されていたストレージ・スペースは、COMMITが発行された後にのみ解放されます。
  • E. DEPARTMENT_IDという名前の新しい列をEMPLOYEESテーブルに追加できます。
  • F. DEPARTMENT_ID列はごみ箱から回収できます

正解:C、E


質問 # 168
複合クエリで INTERSECT 演算子を使用した結果について正しい 2 つのステートメントはどれですか?

  • A. INTERSECT は、複合クエリの両側に共通する行を返します。
  • B. 複合クエリ内の各 SELECT の列名は異なっていてもかまいません。
  • C. 交差するテーブルの順序を逆にすると、出力に影響を与える場合があります。
  • D. INTERSECT は NULL を無視します
  • E. 複合クエリ内の各 SELECT の列の数は異なる場合があります。

正解:A、B


質問 # 169
このクエリを調べます。
デュアルから間隔「100」の月の期間を選択します。
出力はどうなりますか?

  • A. 期間
    + 08-04
  • B. DUFATION
    +100
  • C. 期間
    +08
  • D. エラー

正解:A

解説:
When you use the INTERVAL literal for months, the result is displayed in years and months if the total number of months exceeds 12.
In the query given:
SELECT INTERVAL '100' MONTH DURATION FROM DUAL;
the output will display the interval of 100 months converted to years and the remaining months. 100 months is equal to 8 years and 4 months. Hence, the correct answer is:
DURATION +08-04


質問 # 170
展示を表示し、BOOKSテーブルの構造を調べます。

BOOKSテーブルには、100冊の本の詳細が含まれています。
実行されたコマンドとその結果を調べます。

どちらが正しいですか?

  • A. 両方のROLLBACKコマンドは、削除された100行を復元します。
  • B. 両方のROLLBACKコマンドは、削除された101行を復元します。
  • C. 最初のロールバックは削除された101行を復元し、2番目のロールバックは挿入された行を削除させ、変更をコミットします。
  • D. 最初のロールバックは削除された100行を復元し、2番目のロールバックは変更のみをコミットします。

正解:C


質問 # 171
完全外部結合について正しい2つのステートメントはどれですか?

  • A. 結合されている両方のテーブルから一致する行と一致しない行を返します。
  • B. WHERE句の結合条件の両側でOracle結合演算子(+)を使用する必要があります。
  • C. 内部結合によって返される行が含まれます。
  • D. 結合されている両方のテーブルから一致しない行のみを返します。
  • E. デカルト積によって返される行が含まれます。

正解:A、C


質問 # 172
PRODUCT_INFORMATIONテーブルには、データ型がNUMBER(8、2)のUNIT_PRICE列があります。
このSQLステートメントを評価します。
SELECT TO_CHAR(unit_price、 '$ 9,999')FROM product_information;
どの2つのステートメントが出力について正しいですか?

  • A. UNIT_PRICE列に値1023.99が含まれる行は、$ 1,024として表示されます。
  • B. UNIT_PRICE列に値10235.99が含まれる行は、$ 1,023として表示されます。
  • C. UNIT_PRICE列に値10235.99が含まれる行は、#######として表示されます。
  • D. UNIT_PRICE列に値10235.99が含まれる行は、$ 1,0236として表示されます。
  • E. UNIT_PRICE列の値が1023.99である行は、$ 1,023として表示されます。

正解:C、E


質問 # 173
展示を表示し、PRODUCT_INFORMATIONテーブルのデータを確認します。

サブクエリを必要とする2つのタスクはどれですか。 (2つ選択してください。)

  • A. サプライヤー102071によって供給され、製品ステータスがOBSOLETEである製品の総数を表示します。
  • B. 注文可能なステータスを持つ製品の平均表示価格よりも最低表示価格が高いすべての製品を表示
  • C. 定価が平均定価より高い商品の数を表示
  • D. 各商品ステータスの最低正規価格を表示
  • E. 平均表示価格が500を超えるすべてのサプライヤーIDを表示

正解:B、C


質問 # 174
次のコマンドを実行します。
CREATE TABLE Customers(customer_id INTEGER、customer_name VARCHAR2(20))TNSERT INTO Customers VALUES(1、 'Customer 1'); SAVEPOTNT post_insert; INSERT INTO Customers VALUES(2、 'Customer 2');
(TODO)
顧客からCOUNT(*)を選択します。
独立して使用される2つで<todo>を置き換えることができるため、クエリは1を返しますか

  • A. ROLLBACK TO SAVEPOINT post_insert;
  • B. COMMIT TO SAVEPOINT post_insert;
  • C. ROLLBACK TO post_insert;
  • D. ROLLBACK,"
  • E. commit;

正解:A、C


質問 # 175
TRUNCATEとDELETEについて正しい説明はどれですか。

  • A. 外部キー制約に違反する場合、テーブルから行を削除できません。
  • B. 複数のインデックスとトリガーを持つテーブルの場合、DELETEはTRUNCATEより高速です。
  • C. 外部キー制約に違反する場合、テーブルを切り捨てることはできません。
  • D. 大きなテーブルの場合、TRUNCATEはDELETEより高速です。

正解:D


質問 # 176
どのステートメントが正常に実行に失敗しましたか?
A)

B)

C)

D)

  • A. オプションD
  • B. オプションC
  • C. オプションA
  • D. オプションB

正解:D


質問 # 177
外部結合について正しい2つのステートメントはどれですか?

  • A. IN演算子は、外部結合を含む条件では使用できません。
  • B. 外部結合演算子(+)は、外部結合の結合条件の両側で使用できます。
  • C. 外部結合は、結合条件を満たさない行のみを取得するために使用されます。
  • D. 外部結合を表す条件は、or論理演算子を使用して別の条件にリンクすることはできません。
  • E. 外部結合演算子(+)は、一致する行がないテーブルの列の横で使用されます。

正解:D、E

解説:
Regarding the usage and rules of outer joins in SQL, specifically Oracle SQL:
* D. A condition representing an outer join cannot be linked to another condition using the OR logical operator: In SQL, when using the Oracle-specific (+) notation for outer joins, it is not permitted to combine this condition with another using the OR operator. The use of (+) imposes restrictions to ensure the join logic is correctly interpreted.
* E. The outer join operator (+) is used next to the column of the table without the matching rows:
The (+) symbol in Oracle's SQL syntax denotes the table that should include "null" where data does not exist to satisfy the join condition, effectively including rows that do not have a match in the joined table.
Incorrect options:
* A: The (+) operator cannot be used on both sides of a condition within the same join; it can only appear on one side to define which side of the join is the outer part.
* B: An outer join is used to retrieve all rows from one table and the matched rows from the other table; it does not solely retrieve rows that do not meet the join condition.
* C: The IN operator can be used in conditions involving an outer join, although specific rules and behaviors need to be considered depending on the SQL version and implementation.


質問 # 178
SHIPMENTSテーブルの構造を調べます。

SHIPMENT_DATEがPO_DATEから1か月より後の場合、PO_IDと支払われるペナルティ額を表示するレポートを生成します。ペナルティは1日あたり20ドルです。
次の2つのクエリを評価します。

上記のコマンドに関して正しい説明はどれですか。

  • A. 最初のクエリのみが正常に実行されますが、誤った結果が返されます。
  • B. 2番目のクエリのみが正常に実行され、正しい結果が得られます。
  • C. 両方とも正常に実行され、正しい結果が得られます。
  • D. 2番目のクエリのみが正常に実行されますが、誤った結果が返されます。
  • E. 最初のクエリのみが正常に実行され、正しい結果が得られます。

正解:E


質問 # 179
データ ディクショナリに関して正しい 2 つの記述はどれですか?

  • A. プレフィックス dba_ が付いたビューには、SYS スキーマ内のオブジェクトのメタデータのみが表示されます。
  • B. プレフィックス all_、dba_、および useb_ が付いたビューは、すべてのタイプのメタデータで使用できるわけではありません。
  • C. プレフィックス all_ が付いたビューには、現在のユーザーがアクセスできるオブジェクトのメタデータが表示されます。
  • D. データ ディクショナリは、データベースが閉じているときにアクセスできます。
  • E. データ ディクショナリはテーブルにメタデータを保存しません。

正解:B、C


質問 # 180
INVOICEテーブルにはデータ型NUMBERのQTY_SOLD列があり、データ型DATENLS_DATE_FORMATのINVOICE_DATE列はDD-MON-RRに設定されています。
クエリ式にこれらの列が含まれるデータ型変換について正しいのはどれですか?

  • A. CONCAT(qty_sold、invoice_date):明示的な変換が必要
  • B. 「101」と「110」の間のqty_sold:暗黙の変換を使用
  • C. invoice_date = '15 -march-2019 ':暗黙的な変換を使用
  • D. invoice_date> '01 -02-2019 ':暗黙の変換を使用
  • E. qty_sold = '05549821':明示的な変換が必要

正解:C、D

解説:
The statements regarding data type conversions and the treatment of literals in SQL expressions involve understanding implicit and explicit data conversions in Oracle SQL.
* Statement A is true as invoice_date > '01-02-2019' involves an implicit conversion of the string literal to a date type, based on the NLS_DATE_FORMAT setting, assuming the format matches.
* Statement E is true because, similarly to A, invoice_date = '15-march-2019' involves an implicit conversion where the string is automatically converted to a date type according to the Oracle NLS_DATE_FORMAT or an assumed default date format.
* Statements B, C, and D involve incorrect or misleading information:
* B (qty_sold = '05549821') is misleading and potentially incorrect as leading zeros in a numeric context do not typically require explicit conversion but the presence of spaces might suggest a need for trimming rather than numeric conversion.
* C (CONCAT(qty_sold, invoice_date)) would indeed require explicit conversion because CONCAT expects string types, and thus numerical and date values must be explicitly converted
* to strings before concatenation.
* D (qty_sold BETWEEN '101' AND '110') uses implicit conversion where the string literals '101' and '110' are implicitly converted to numbers if qty_sold is a numeric type.


質問 # 181
展示を表示し、DEPTテーブルとLOCATIONSテーブルの説明を調べます。

すべての行のDEPT表のCITY列を、各部門のLOCATIONS表のCITY列の対応する値で更新するとします。
タスクを達成するためにどのSQLステートメントを実行しますか?

  • A. 更新部dSET市=(SELECT cityFROMの場所lWHERE d.location_id = l.location_id);
  • B. 更新部dSET市= ANY(select cityFROM場所l)
  • C. 更新部dSET都市=(SELECT cityFROMの場所l)WHERE d.location_id = l.location_id;
  • D. 更新部dSET市= ALL(SELECT cityFROMの場所lWHERE d.location_id = l.location_id);

正解:A


質問 # 182
* TABLESビューについて正しい2つのステートメントはどれですか?

  • A. すべてのユーザーがDBATABLESを正常に照会できます。
  • B. USER TABLESは、現在のユーザーが所有するすべてのテーブルを表示します。
  • C. All TABLESは、現在のユーザーが所有するすべてのテーブルを表示します。
  • D. USER TABLESでテーブルを表示するには、テーブルに対するSELECT権限が必要です。
  • E. すべてのテーブルでテーブルを表示するには、テーブルに対するSELECT権限が必要です。
  • F. DBA TABLESでテーブルを表示するには、テーブルに対するSELECT権限が必要です。

正解:A、B

解説:
For the *TABLES views in Oracle:
* Option C: USER_TABLES displays all tables owned by the current user.
* USER_TABLES is an Oracle data dictionary view that shows all tables owned by the user issuing the query.
* Option F: All users can query DBA_TABLES successfully.
* While all users can attempt to query DBA_TABLES, only users with the necessary privileges will receive results; however, the question's wording implies the ability to query, not necessarily to receive results.
Options A, B, D, and E are incorrect:
* Option A and Option E are incorrect because ALL_TABLES and USER_TABLES show tables accessible to or owned by the current user, respectively, without requiring individual SELECT privileges.
* Option B is incorrect because DBA_TABLES requires users to have the SELECT ANY TABLE privilege or equivalent, not SELECT privileges on each table.
* Option D is incorrect because ALL_TABLES displays all tables that the current user has access to, not just those owned by them.


質問 # 183
これらのステートメントを調べます。
CREATE TABLE alter_test(c1 VARCHAR2(10)、c2 NUMBER(10);
INSERT INTO変更テスト値( '123'、123);
Alter_TESTの列の変更について正しいのはどれですか?
ALTER_TESTの列の変更について正しいのはどれですか?

  • A. c2は数値(10)に変更できますが、c2はvarchab2(10)に変更できません。
  • B. c1はvarchar2(5)に、c2は数値(13、2)に変更できます。
  • C. c2はvarchar2(10)に変更できますが、elは数値(10)に変更できません。
  • D. c1は数値(10)に変更でき、c2はvahchar2(10)に変更できます。
  • E. c2は数値(5)に変更できますが、ciはvarchar2(5)に変更できません。

正解:B


質問 # 184
......

最新の1z0-071日本語試験問題集でOracle試験トレーニング:https://jp.fast2test.com/1z0-071-JPN-premium-file.html


弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

我々の働いている時間: ( GMT 0:00-15:00 )
月曜日から土曜日まで

サポート: 現在連絡 

English Deutsch 繁体中文 한국어