ITPub博客

首页 > 数据库 > Oracle > OCP 1Z0-051-128

OCP 1Z0-051-128

原创 Oracle 作者:LuiseDalian 时间:2014-05-22 07:27:46 0 删除 编辑
(128)View the Exhibits and examine the structures of the CUSTOMERS, SALES,  and COUNTRIES tables.

You need to generate a report that shows all country names, with corresponding customers (if any) and sales details (if any), for all customers.

Which FROM clause gives the required result?

A. FROM sales JOIN customers USING (cust_id) FULL OUTER JOIN countries USING (country_id);

B. FROM sales JOIN customers USING (cust_id) RIGHT OUTER JOIN countries USING (country_id);

C. FROM customers LEFT OUTER JOIN sales USING (cust_id) RIGHT OUTER JOIN countries USING (country_id);

D. FROM customers LEFT OUTER JOIN sales USING (cust_id) LEFT OUTER JOIN countries USING (country_id);


答案:(C)

解析:

即所有的国家需要全部显示。Customers表与sales表连接时,用户需要全部显示。




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

上一篇: OCP 1Z0-051-125
请登录后发表评论 登录
全部评论

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6040864