フリー問題

Oracle Database SQL のフリー問題 14 / 20 問目

問題文

Two tables share the column names department_id and manager_id. A developer joins them with the NATURAL JOIN keywords and expects the join to use department_id alone. Which columns does the join actually compare?

選択肢

  1. The first shared column, because a natural join is based on the column that appears earliest in the definition of the first table.
  2. Both shared columns, because a natural join is based on every column that carries the same name in the two tables that are being joined.
  3. The primary key columns, because a natural join is based on the key that the two tables declare rather than on the column names.
  4. The columns named in the ON clause, because a natural join is based on the condition that the writer adds to the keywords.

解答・解説を確認するには

正解と解説の確認、回答の記録には無料登録が必要です。登録すると演習モードでフリー問題に回答し、正誤と解説をその場で確認できます。