フリー問題

Oracle Database Administration I のフリー問題 18 / 20 問目

問題文

An employee table holds the identifier of each manager in one of its own columns and a report has to show each employee next to the name of the manager. Which approach fits?

選択肢

  1. The table is queried twice and the two results are combined with a set operator so that the rows of the managers follow the rows of the employees.
  2. The table is grouped by the identifier of the manager so that each group carries the name of the manager as well as the names of the members.
  3. The table is paired to itself without any alias so that the database works out which side plays the employee role from the column names.
  4. The table is joined to itself under two different aliases so that one alias plays the employee role and the other plays the manager role.

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

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