OCP-1Z0-051 补充题库 第44题 NATURAL JOIN自然连接

来源:互联网 发布:可以注销淘宝店铺吗 编辑:程序博客网 时间:2024/05/22 06:43
一、原题
View the Exhibits  and examine the structures of the PRODUCTS,  SALES,  and CUSTOMERS  tables.






You issue the following query:
SQL>SELECT p.prod_id,prod_name,prod_list_price, quantity_sold,cust_last_name
         FROM products p NATURAL JOIN sales s NATURAL JOIN customers c
         WHERE prod_id =148;
Which statement is true regarding the outcome of this query?
A. It executes successfully.
B. It produces an error because the NATURAL join can be used only with two tables.
C. It produces an error because a column used in the NATURAL join cannot have a qualifier.
D. It produces an error because all columns used in the NATURAL join should have a qualifier.

答案:C

二、题目翻译
这个题目的翻译和解析详见
    http://blog.csdn.net/holly2008/article/details/25475461

0 0
原创粉丝点击