zoukankan      html  css  js  c++  java
  • OCP-1Z0-051-V9.02-128题

    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);

    Answer: C
    答案解析:

    显示所有客户所有country names,对应的customers(如果有)和sales details(如果有)
    即是左外连接customers ,显示所有客户,右外连接countries ,显示所有 country names。
  • 相关阅读:
    认证-权限-频率组件
    视图组件
    序列化类
    解析模块
    异常模块
    响应模块分析
    请求模块分析
    cbv请求分析
    django中的restful规范
    web接口与restful规范
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316863.html
Copyright © 2011-2022 走看看