【071题库】最新OCP-071考试题库解析-第2题
071考试是OCP考试科目的一种,由于071考题多变,我们专门收集整理了最新的考试题库,并对这些考题进行讲解,希望可以帮助广大考生。
每周五晚8点,我们有免费的OCP解析公开课,地址:https://ke.qq.com/course/326223 OCP题库交流群:1015267481,验证ocp
-------------------------------------------------------
071题库2、choose two
Examine the description of the EMP_DETAILS table given below:
Which two statements are true regarding SQL statements that can be executed on the EMP_DETAIL table?
A) You cannot add a new column to the table with LONG as the data type.
B) An EMP_IMAGE column can be included in the GROUP BY clause.
C) You can alter the table to include the NOT Nun., constraint on the EMP_IMAGE column.
D) An EMP_IMAGE column cannot be included in the ORDER BY clause.
Answer:AD
(解析:
答案 A:
SQL> alter table sales add emp_info long;
alter table sales add emp_info long *
第 1 行出现错误:
ORA-01754: 表只能包含一个 LONG 类型的列。
答案 D:
SQL> select * from sales
2 order by emp_image;
select * from sales
*
第 1 行出现错误:
ORA-00997: 非法使用 LONG 数据类型
)
-
标签错误:<!-- #Label#
labelId=20160707140604
moduleId=1
classId=12231768634
orderby=2
fields=url,title,u_info
attribute=
datatypeId=22192428132
recordCount=3
pageSize=
<htmlTemplate><dt><img src="/images/index_26${index}.jpg" width="100" height="62" /><a href="$url" title="${title}">${title}</a><span>${api.left(u_info,60)}</span></dt></htmlTemplate>
-->
- 我要参加技术沙龙