ITPub博客

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

OCP 1Z0-051-129

原创 Oracle 作者:LuiseDalian 时间:2014-05-22 07:19:23 0 删除 编辑
(129)View the Exhibits and examine the structures of the PROMOTIONS and SALES tables. Evaluate the following SQL statement:

SELECT p.promo_id, p.promo_name, s.prod_id

FROM sales s RIGHT OUTER JOIN promotions p

ON (s.promo_id = p.promo_id)

Which statement is true regarding the output of the above query?

A. It gives the details of promos for which there have been sales.

B. It gives the details of promos for which there have been no sales.

C. It gives details of all promos irrespective of whether they have resulted in a sale or not.

D. It gives details of product ID s that have been sold irrespective of whether they had a promo or not.

答案:(C)

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

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

注册时间:2012-02-06

  • 博文量
    1986
  • 访问量
    6040880