試験1z0-071-JPN トピック4 問題247 スレッド
Oracle 1z0-071-JPNのリアル試験問題集
問題 #: 247
トピック #: 4
問題 #: 247
トピック #: 4
どの2つのクエリが正常に実行されますか?
おすすめの解答:A,B,D,E 解答を投票する
The NULLIF and COALESCE functions in Oracle SQL serve specific purposes:
* Option A: Executes successfully. NULLIF returns NULL if the two arguments are equal; otherwise, it
* returns the first argument.
* Option B: Also correct. COALESCE returns the first non-null value among its arguments.
* Option C: This will not execute successfully because NULLIF requires both arguments to be of comparable data types. Comparing an integer to a character ('100' to 'A') is invalid.
* Option D: Executes successfully. NULLIF returns NULL because it compares NULL to a number, which is valid (though always yields NULL).
* Option E: Executes successfully. COALESCE accepts any data type as it returns the first non-null value, irrespective of type consistency among the arguments.
* Option A: Executes successfully. NULLIF returns NULL if the two arguments are equal; otherwise, it
* returns the first argument.
* Option B: Also correct. COALESCE returns the first non-null value among its arguments.
* Option C: This will not execute successfully because NULLIF requires both arguments to be of comparable data types. Comparing an integer to a character ('100' to 'A') is invalid.
* Option D: Executes successfully. NULLIF returns NULL because it compares NULL to a number, which is valid (though always yields NULL).
* Option E: Executes successfully. COALESCE accepts any data type as it returns the first non-null value, irrespective of type consistency among the arguments.
Nohara 2026-06-27 11:13:54
コメント
他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。
コメントを通報する
コメント中
今すぐ 新規登録 / ログイン (無料です)。