OCP 1Z0 051 21
来源:互联网 发布:开放式厨房 知乎 编辑:程序博客网 时间:2024/05/21 21:42
21. Examine the description of the EMP_DETAILS table given below:
name NULL TYPE
EMP_ID NOT NULL NUMBER
EMP_NAME NOT NULL VARCHAR2 (40)
EMP_IMAGE LONG
Which two statements are true regarding SQL statements that can be executed on the EMP_DETAIL
table? (Choose two.)
A. An EMP_IMAGE column can be included in the GROUP BY clause.
B. An EMP_IMAGE column cannot be included in the ORDER BY clause.
C. You cannot add a new column to the table with LONG as the data type.
D. You can alter the table to include the NOT NULL constraint on the EMP_IMAGE column.
Answer: BC
name NULL TYPE
EMP_ID NOT NULL NUMBER
EMP_NAME NOT NULL VARCHAR2 (40)
EMP_IMAGE LONG
Which two statements are true regarding SQL statements that can be executed on the EMP_DETAIL
table? (Choose two.)
A. An EMP_IMAGE column can be included in the GROUP BY clause.
B. An EMP_IMAGE column cannot be included in the ORDER BY clause.
C. You cannot add a new column to the table with LONG as the data type.
D. You can alter the table to include the NOT NULL constraint on the EMP_IMAGE column.
为什么老是考long.这是个不建议使用的类型
SQL> CREATE TABLE emp_details 2 ( 3 emp_id NUMBER NOT NULL, 4 emp_name VARCHAR2(40) NOT NULL, 5 emp_image LONG 6 );Table createdSELECT emp_image FROM emp_details GROUP BY emp_imageORA-00997: 非法使用 LONG 数据类型SELECT emp_image FROM emp_details ORDER BY emp_imageORA-00997: 非法使用 LONG 数据类型ALTER TABLE emp_details ADD new_col LONGORA-01754: 表只能包含一个 LONG 类型的列SQL> ALTER TABLE emp_details MODIFY emp_image NOT NULL;Table altered
Answer: BC
0 0
- OCP 1Z0 051 21
- OCP 1Z0 051 QUESTION NO: 21
- OCP-1Z0-051-2015-21题
- OCP 1Z0 051 1
- OCP 1Z0 051 2
- OCP 1Z0 051 3
- OCP 1Z0 051 4
- OCP 1Z0 051 5
- OCP 1Z0 051 6
- OCP 1Z0 051 7
- OCP 1Z0 051 8
- OCP 1Z0 051 9
- OCP 1Z0 051 10
- OCP 1Z0 051 11
- OCP 1Z0 051 12
- OCP 1Z0 051 13
- OCP 1Z0 051 14
- OCP 1Z0 051 15
- 校验码 -> 奇偶校验
- 如何使用cocos2d-x 3.0制作一个太空射击游戏
- linux 共享内存通信
- dom4j操作xml
- gzip解压报错
- OCP 1Z0 051 21
- WINJS:初始化winJs控件
- 如何使用cocos2d-x3.0来给Sprite添加遮罩
- LeetCode 4Sum
- c语言之判断一个数是否为素数
- 解决asp.net中“从客户端中检测到有潜在危险的Request.Form值”的错误
- Flex 修改窗口弹出的模态背景效果
- 常用三维软件与Unity单位比例关系
- s:select 属性