大數(shù)據(jù)就業(yè)實(shí)戰(zhàn)培訓(xùn) Oracle就業(yè)實(shí)戰(zhàn)培訓(xùn)
071考試題庫(kù)之前是比較穩(wěn)定的,但隨著Oracle的調(diào)整,071考試不斷的增加新的考題,增加了考試的難度,所以我們專門收集整理了這些考試,并對(duì)這些考題進(jìn)行解析,希望可以對(duì)考生有幫助。
每周五晚8點(diǎn),我們有免費(fèi)的OCP解析公開課,地址:https://ke.qq.com/course/326223 OCP題庫(kù)交流群:1015267481,驗(yàn)證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 行出現(xiàn)錯(cuò)誤:
ORA-01754: 表只能包含一個(gè) LONG 類型的列。
答案 D:
SQL> select * from sales
2 order by emp_image;
select * from sales
*
第 1 行出現(xiàn)錯(cuò)誤:
ORA-00997: 非法使用 LONG 數(shù)據(jù)類型
)