OCP-1Z0-051 补充题库 第44题 NATURAL JOIN自然连接
2015-04-03 22:14
549 查看
一、原题
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
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
相关文章推荐
- OCP-1Z0-051 第122题 NATURAL JOIN(自然连接)和USING子句的用法
- OCP-1Z0-051 补充题库 第23题 表连接中别名的使用
- OCP-1Z0-051 补充题库 第10题 集合操作中的ORDER BY子句
- OCP-1Z0-051 补充题库 第3题 隐式格式转换
- OCP-1Z0-051 补充题库 第45题 CREATE VIEW
- OCP-1Z0-051 补充题库 第12题 oracle函数分类
- OCP-1Z0-051 补充题库 第24题 SYNONYM同义词
- OCP-1Z0-051 补充题库 第28题 Date类型
- OCP-1Z0-051 补充题库 第32题 ALL、ANY、IN
- OCP-1Z0-051 补充题库 第1题 TRUNCATE命令的使用
- OCP-1Z0-051 补充题库 第6题 SELECT查询语句
- OCP-1Z0-051 补充题库 第25题 TRUNC和ROUND
- OCP-1Z0-051 补充题库 第33题 sql*plus命令
- OCP-1Z0-051 补充题库 第29题 INSERT语句中有子查询
- OCP-1Z0-051 补充题库 第40题 聚合函数的使用
- OCP-1Z0-051 补充题库 第13题 MERGE INTO语句
- OCP-1Z0-051 补充题库 第17题 约束的注意事项
- OCP-1Z0-051 补充题库 第26题 单行函数特点
- OCP-1Z0-051 补充题库 第31题 subquery子查询的注意事项
- OCP-1Z0-051 补充题库 第34题 COUNT函数