ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 047-124

047-124

原创 Linux操作系统 作者:jbymy2000 时间:2012-03-19 09:44:40 0 删除 编辑
124. View the Exhibit and examine the description of the EMPLOYEES table.
Evaluate the following SQL statement:
SELECT employee_id, last_name, job_id, manager_id, LEVEL
FROM employees START WITH employee_id = 101
CONNECT BY PRIOR employee_id=manager_id ;
Which two statements are true regarding the output of this command? (Choose
two.)
A. The output would be in top-down hierarchy starting with EMPLOYEE_ID having
value 101.
B. The output would be in bottom-up hierarchy starting with EMPLOYEE_ID
having value 101.
C. The LEVEL column displays the number of employees in the hierarchy under
the employee having the EMPLOYEE_ID 101.
D. The LEVEL column displays the level in the hierarchy at which the employee
is placed under the employee having the EMPLOYEE_ID 101.
Answer: AD
Topdown: 由上至下bottomup: 由下至上
做题的时候要仔细,LEVEL 是显示层次的

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11312660/viewspace-718937/,如需转载,请注明出处,否则将追究法律责任。

上一篇: 047-123
下一篇: 047-125
请登录后发表评论 登录
全部评论

注册时间:2012-01-10

  • 博文量
    416
  • 访问量
    203030