最適な練習法には1z0-071日本語問題集で素晴らしい1z0-071日本語試験問題PDF [Q144-Q163]

Share

最適な練習法には1z0-071日本語問題集で素晴らしい1z0-071日本語試験問題PDF

更新された検証済みの合格させる1z0-071日本語試験リアル問題と解答があります

質問 # 144
from 句内の 2 つの結合条件が非等結合であるのはどれですか?

  • A. table1 は (column1, column2) を使用して table2 を結合します。
  • B. タブレット結合 table2 ON (table1.column = table2.column) where table2.column LIKE 'A'
  • C. table1 join table2 ON (table1.column >= table2.column)
  • D. テーブル 1 自然結合テーブル 2
  • E. table1 は table2 を結合します (table2.column と table2.column2 の間の table1.column)

正解:C、E

解説:
Equijoins are joins that use the equality operator (=) to match rows. Non-equijoins are joins that use operators other than the equality operator.
A). False. This condition is an equijoin as it uses the equality operator (=).
B). True. This join condition uses the BETWEEN operator, which is not based on equality.
C). False. A natural join is a type of equijoin where the join is made on all columns with the same names in both tables.
D). False. USING clause is used to specify an equijoin on one or more columns.
E). True. This join condition uses the greater than or equal to (>=) operator, making it a non-equijoin.


質問 # 145
EMPLOYEESテーブルのデータを調べます。

各従業員の年間報酬総額を計算するステートメントはどれですか?

  • A. SELECT姓、(monthly_ salary * 12)+(monthly_ salary * 12 * NVL
    (月額手数料pct、0))年次として_ comp
    従業員から;
  • B. SELECTの名前、
    (月給* 12)+(monthly_commission_pct * 12)AS
    年次報酬
    従業員から
    ;
  • C. SELECT last_ name、monthly_ salary * 12)+(monthly_ salary * 12 * Monthly Commission _Pct)AS
    Annual_ comp
    従業員から;
  • D. SELECT last_ name(monthly_ salary + Monthly_ Commission _ pct)* 12 AS Annual_
    従業員から;

正解:A

解説:
To calculate the total annual compensation, you need to sum the annual salary with the annual commission.
The annual commission is the monthly commission percentage times the monthly salary times 12 (months).
The NVL function is used to replace NULL with 0 for commission percentage when calculating the commission.
* A: This statement is incorrect because it does not handle NULL values for 'monthly_commission_pct', which will result in NULL for the entire expression if 'monthly_commission_pct' is NULL.
* B: This statement is syntactically incorrect because it lacks commas and proper parentheses to separate the column name 'last_ name' from the calculation.
* C: This is the correct statement as it uses NVL to replace NULL with 0 and calculates the total annual compensation correctly.
* D: This statement is incorrect because, like in option A, it does not handle NULL values in
'monthly_commission_pct', resulting in NULL if 'monthly_commission_pct' is NULL.


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

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

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

正解:A、B


質問 # 147
次のコマンドを実行します。
CREATE TABLE顧客(顧客ID INTEGER、顧客名VARCHAR2(20));
INSERT INTO Customers VALUES(1、 'Custmoer1');
SAVEPOINTポストインサート;
INSERT INTO Customers VALUES(2、 'Customer2');
<TODO>
SELECTCOUNT(*)FROM顧客;
独立して使用される2つのうち、クエリが1に戻るように<TODO>を置き換えることができるのはどれですか?

  • A. post_insertへのロールバック;
  • B. ロールバック;
  • C. ROLIBACK TO SAVEPOINT post_insert;
  • D. コミット;
  • E. CONOIT TO SAVEPOINT post_insert;

正解:A、C


質問 # 148
これらのステートメントを調べます。

どちらが本当ですか?

  • A. EMP表のDEPTNO列には、NULL値を含めることができます。
  • B. 3つのステートメントはすべて、示されている順序で正常に実行されます。
  • C. DEPTテーブルのMGR列にnull値を含めることはできません。
  • D. DEPT_FKEY制約定義をCREATE TABLE DEPTステートメントから削除する必要があります。両方のテーブルが作成されると、2つのCREATE TABLEステートメントが示されている順序で正常に実行されるように、D。ALTERステートメントで追加されます。
  • E. 両方の外部キー制約定義をCREATEステートメントから削除し、両方のテーブルが作成されたら、ALTER TABLEステートメントを使用して追加する必要があります。
  • F. 3つのステートメントすべてが正常に実行されるためには、create TABLE EMPステートメントがcreate table DEPTステートメントの前になければなりません。

正解:A、D


質問 # 149
構造化照会言語(SQL)について正しい3つのステートメントはどれですか?

  • A. リレーショナルデータベースとオブジェクト指向データベースの両方に使用できる唯一の言語です
  • B. リレーショナルデータベースを最もよくサポートします
  • C. データが階層データストレージに含まれている必要があります
  • D. リレーショナルテーブルのカプセル化とポリモーフィズムを定義するために使用されます
  • E. 基盤となる物理データストレージから操作される論理データ構造に独立性を提供します
  • F. アトミック性、一貫性、分離、耐久性(ACID)機能を保証します

正解:B、D、E


質問 # 150
テーブルから列を削除することについて正しいのはどれですか?

  • A. 主キー列は削除できません。
  • B. 列のドロップは暗黙的にコミットされます。
  • C. データが含まれていない場合にのみ、列を削除できます。
  • D. ALTER TABLEコマンドを使用して、複数の列を同時に削除できます。
  • E. 他のテーブルの別の列によって参照されている列は削除できません。
  • F. テーブルから削除する前に、列を未使用として設定する必要があります。

正解:B、D、E


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

どちらが正しいですか?

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

正解:B、E


質問 # 152
ロールバックについて正しいのはどれですか?

  • A. GRANTやREVOKEなどのデータ制御言語(DCL)ステートメントをロールバックできます。
  • B. TO SAVEPOINTなしでROLLBACKステートメントを使用すると、トランザクション内のすべてのセーブポイントが削除されます。
  • C. ROLLBACKステートメントは、テーブルの更新に起因するロックを解放しません。
  • D. ロールバック後のデータの整合性は保証されません。
  • E. システム障害によって中断されたトランザクションは自動的にロールバックされます。

正解:B、E


質問 # 153
置換変数を持つ&および&&プレフィックスについて正しいのはどれですか?

  • A. 複数のクエリで複数回参照される未定義の置換変数の&&プレフィックスは、クエリごとに1回値の入力を求めます。
  • B. &と&&はどちらも、クエリとDMLステートメントで置換変数名の前に付けることができます。
  • C. 同じクエリで2回参照される未定義の置換変数の&プレフィックスは、値の入力を2回要求します。
  • D. 置換変数がセッションで以前に定義されていなくても、&&プレフィックスは値の入力を求めません。
  • E. &クエリでのみ置換変数名のプレフィックスを付けることができます。 DML

正解:B

解説:
E). True. Both & and && can prefix substitution variables in queries as well as in DML statements. & is used for defining a substitution variable that prompts the user every time the variable is encountered. && is used for a persistent substitution variable that, once defined in the session, will not prompt the user again for a value if used subsequently.


質問 # 154
これらの2つのクエリとその出力を調べます。
SELECT deptno、dname FROM dept;

SELECT ename、job、deptno FROM emp ORDER BY deptno;

次に、このクエリを調べます。
ename、dnameを選択します
FROM emp CROSS JOIN dept WHERE job =&apos; MANAGER&apos;
AND dept.deptno IN(10、20);

  • A. 0
  • B. 1
  • C. 2
  • D. 3

正解:C


質問 # 155
どちらが正しいですか?

  • A. CONCATは2つの文字列を結合します。
  • B. INSTRは、位置0から始まる文字列内のオフセットを検索します。
  • C. CONCATは2つ以上の文字列を結合します。
  • D. FLOORは、指定された数値以下の最大の整数を返します。
  • E. INSTRは、1文字の文字列内のオフセットのみを検索します。
  • F. FLOORは、指定された数以下の最大の正の整数を返します。

正解:C、D

解説:
The CONCAT function and FLOOR function in Oracle SQL have specific behaviors:
A . CONCAT function joins two or more character strings into one string, making this statement true.
B . FLOOR function returns the largest integer that is less than or equal to the specified number, making this statement true.
C . While CONCAT can join two strings together, this statement is incomplete as it can join more than two.
D . INSTR can find the offset of a substring within a string, not just a single character.
E . INSTR starts searching the string from position 1 in Oracle SQL, not position 0.
F . FLOOR does return the largest integer less than or equal to the specified number, but it can be any integer, not just positive ones.
Reference:
Oracle Database SQL Language Reference, 12c Release 1 (12.1): "Single-Row Functions"


質問 # 156
COLORS テーブルのデータを調べます。

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

COLORS からすべての行を返す 2 つのクエリはどれですか?

  • A. SELECT.
    FROM bricks b
    RIGHT JOIN colors c
    ON b. color _rgb_ hex_ value = c. rgb hex_ value;
  • B. SELECT
    FROM bricks b
    FULL JOIN colors C
    ON b. color rgb _ hex_ value = c. rgb _hex_ value;
  • C. SELECT
    EROM colors C
    LEFT JOIN bricks
    USING (rgb _ hex_ value) ;
  • D. SELECT *
    EROM bricks | b
    JOIN colors C
    ON b. color_ rgb_ hex_ value =c. rgb _hex value;
  • E. SELECT
    EROM colors C
    LEET JOIN bricks b
    ON b. color_ rgb_ hex value = c. rgb. hex.
    value
    WHERE b. brick_ id > 0;

正解:A、C

解説:
The queries that will return all the rows from the COLORS table are those that ensure every record from COLORS is selected, regardless of whether there's a matching record in the BRICKS table:
* Option A:
* SELECT * FROM bricks b RIGHT JOIN colors c ON b.color_rgb_hex_value = c.rgb_hex_value;
* A right join will return all the rows from the right table (COLORS), with the matching rows from the left table (BRICKS). If there is no match, NULL will be returned for columns from BRICKS.
* Option B:
* SELECT * FROM colors c LEFT JOIN bricks b USING (rgb_hex_value);
* A left join will return all the rows from the left table (COLORS), with the matching rows from the right table (BRICKS). If there is no match, NULL will be returned for columns from BRICKS. The USING clause indicates a join condition where columns with the same names are compared for equality.
Options C, D, and E will not return all the rows from the COLORS table:
* Option C: The full join will return all rows from both tables, but it is not restricted to only the rows from COLORS.
* Option D: An inner join will return only the matching rows between both tables, not all rows from COLORS.
* Option E: This is a left join, which would typically return all rows from COLORS, but the WHERE clause restricts the result set to only those rows from COLORS that have a matching BRICK_ID in BRICKS which is greater than 0, potentially excluding rows from COLORS.


質問 # 157
Oracleデータベースのトランザクションについて正しいのはどれですか?

  • A. コミットされていないトランザクションは、ユーザーがSQL * PLUSを終了すると自動的にコミットされます
  • B. コミットされていないトランザクションを使用するセッションによって発行されたDDLステートメントは、自動的にそのトランザクションをコミットします。
  • C. セッションは、同じユーザーが別のセッションで行ったコミットされていない更新を確認できます
  • D. DMLステートメントは常に新しいトランザクションを開始します。
  • E. DDLステートメントは、DDLの実行によって引き起こされたデータディクショナリの更新のみを自動的にコミットします。

正解:B、D

解説:
B). True. DDL (Data Definition Language) statements in Oracle Database are auto-commit statements. This means that if a DDL statement is issued, any uncommitted transactions in the same session will automatically be committed.
D). False. This is a common misconception. DML (Data Manipulation Language) statements do not automatically start new transactions. In Oracle, a transaction begins when the first DML statement (INSERT, UPDATE, DELETE, MERGE, SELECT FOR UPDATE) is encountered after a previous transaction has been committed or rolled back.
A is incorrect because DDL statements automatically commit the entire transaction, not just the data dictionary updates. C is incorrect because an uncommitted transaction is not automatically committed when a user exits SQL*Plus; instead, it is rolled back. E is incorrect because a session cannot see uncommitted updates made by other sessions.


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

次のコマンドを実行します。

どちらが正しいですか?

  • A. COUNTRY列を含むDEPARTMENTSテーブルで作成されたビューは自動的に変更され、有効なままです。
  • B. COUNTRY列に定義された一意のキー制約が削除されます。
  • C. コマンドを実行した後、新しい列COUNTRYをDEPARTMENTSテーブルに追加できます。
  • D. COUNTRY列に作成されたインデックスは、DROP UNUSED COLUMNSコマンドが実行されるまで存在します。
  • E. DEPARTMENTSテーブルに存在するシノニムを再作成する必要があります。

正解:B、C


質問 # 159
Oracleの同義語について正しい3つのステートメントはどれですか?

  • A. PL / SQLパッケージのシノニムを作成できません。
  • B. あるユーザーが作成した同義語は、別のユーザーに属するオブジェクトを参照できます。
  • C. 同義語はすべてのユーザーが利用できます。
  • D. SEQUENCEは同義語を持つことができます。
  • E. すべてのユーザーがPUBLICシノニムを削除できます。

正解:B、C、D

解説:
B . True. In Oracle, synonyms can be created for sequences, allowing them to be referenced with an alternative name. This can be particularly useful when sequences are accessed across different schemas.
C . True. Oracle provides the ability to create public synonyms which are available to all users in the database. A public synonym is accessible to any user that has the necessary privileges on the underlying object.
D . True. A synonym can be created by a user to refer to an object owned by another user, assuming that the creator of the synonym has the necessary privileges to access the object owned by the other user.


質問 # 160
テーブルの列のサブセットに制限できる3つの特権はどれですか?

  • A. 削除
  • B. 更新
  • C. インデックス
  • D. ALTER
  • E. SELECT
  • F. 挿入
  • G. 参考文献

正解:B、F、G


質問 # 161
PRODUCT_STATUSテーブルの説明を調べます。

STATUS列には、各行の「INSTOCK」または「OUTOFSTOCK」の値が含まれています
どの2つのクエリが正常に実行されますか?

  • A. SELECT prod_id || q '('利用不可) 'FROM product_status WHERE status ='在庫切れ ';
  • B. SELECT prod_id || q '('利用不可) ''現在の可用性 'FROM product_status WHERE status ='在庫切れ ';
  • C. SELECT prod_id "CURRENT AVAILABILITY" || q '('利用不可) 'FROM product_status WHERE status ='在庫切れ ';
  • D. SELECT prod_id || q "は利用できません" FROM product_status WHERE status = '在庫切れ';
  • E. SELECT prod_id || q '('利用不可) '"現在の可用性" FROM product_status WHERE status ='在庫切れ ';
  • F. SELECT prod_id || qは利用できません '' FROM product_status WHERE status = 'OUT OF STOCK';

正解:A、E


質問 # 162
次のSQLステートメントを評価します
SQL> SELECT promo_id、prom _categoryFROMプロモーション
WHERE promo_category = 'Internet' ORDER BY promo_id
連合
SELECT promo_id、promo_category FROM Pomotions
WHERE promo_category = 'TV'
連合
SELECT promoid、promocategory FROM Promotions WHERE promo category = 'Radio'
上記のクエリの結果に関して正しい説明はどれですか?

  • A. 正常に実行され、PROMOCATEGORYの降順無視で行が表示されます。
  • B. ORDER BY句は複合クエリの最後、つまり最後のSELECTステートメントでのみ表示されるため、エラーが発生します。
  • C. 正常に実行されますが、複合ステートメントの最後に配置されていないため、ORDERBY句は無視されます。
  • D. SBT演算子を使用したORDER BY句では位取り記数法を使用できないため、エラーが発生します。

正解:B


質問 # 163
......

更新されたPDF(2025年最新)実際にある 1z0-071日本語試験問題:https://www.goshiken.com/Oracle/1z1-071-JPN-mondaishu.html