OCP-1Z0-新051-61题版本-29
2013-12-29 00:05
507 查看
QUESTION NO: 29
View the Exhibit and examine the structure of the CUSTOMERS table.
NEW_CUSTOMERS is a new table with the columns CUST_ID, CUST_NAME and CUST_CITY
that have the same data types and size as the corresponding columns in the CUSTOMERS table.
Evaluate the following INSERT statement:
The INSERT statement fails when executed. What could be the reason?
A. The VALUES clause cannot be used in an INSERT with a subquery
B. The total number of columns in the NEW_CUSTOMERS table does not match the total number
of columns in the CUSTOMERS table
C. The WHERE clause cannot be used in a sub query embedded in an INSERT statement
D. Column names in the NEW_CUSTOMERS and CUSTOMERS tables do not match
Answer: A
答案解析:
参考:159:/article/1348587.html
Explanation:
Copying Rows from Another Table
Write your INSERT statement with a subquery:
Do not use the VALUES clause.
Match the number of columns in the INSERT clause to those in the subquery.
Inserts all the rows returned by the subquery in the table, sales_reps.
View the Exhibit and examine the structure of the CUSTOMERS table.
NEW_CUSTOMERS is a new table with the columns CUST_ID, CUST_NAME and CUST_CITY
that have the same data types and size as the corresponding columns in the CUSTOMERS table.
Evaluate the following INSERT statement:
The INSERT statement fails when executed. What could be the reason?
A. The VALUES clause cannot be used in an INSERT with a subquery
B. The total number of columns in the NEW_CUSTOMERS table does not match the total number
of columns in the CUSTOMERS table
C. The WHERE clause cannot be used in a sub query embedded in an INSERT statement
D. Column names in the NEW_CUSTOMERS and CUSTOMERS tables do not match
Answer: A
答案解析:
参考:159:/article/1348587.html
Explanation:
Copying Rows from Another Table
Write your INSERT statement with a subquery:
Do not use the VALUES clause.
Match the number of columns in the INSERT clause to those in the subquery.
Inserts all the rows returned by the subquery in the table, sales_reps.
相关文章推荐
- 高性能网络编程6--reactor反应堆与定时器管理
- IOS app启动画面和图标设置(Iphone5 and IOS7 and Xcode5)
- OCP-1Z0-新051-61题版本-28
- OCP-1Z0-新051-61题版本-27
- OCP-1Z0-新051-61题版本-26
- OCP-1Z0-新051-61题版本-25
- eclipse如何导入sql server2005中的jar包
- 动态规划:从新手到专家
- OCP-1Z0-新051-61题版本-24
- OCP-1Z0-新051-61题版本-23
- OCP-1Z0-新051-61题版本-22
- OCP-1Z0-新051-61题版本-21
- 问佛 --仓央嘉措
- 1
- 经典数据结构之二叉树
- 学计算机必读
- ubuntu12.04安装嵌入式开发环境
- Java学习笔记----------------RMI操作
- [原]项目进阶 之 持续构建环境搭建(四)Jenkins环境搭建
- J2EE学习中一些值得研究的开源项目