12C OCP 1ZO-071 题库(8月以前)
071-67q
1 choose the best answer
選擇最好的答案
exanine the desciption of the employees table:
員工表的填寫:
which query is valid?
哪個查詢是有效的?
A) select dept_id, join_date, sum(salary) from employees group by dept_id, join_date;
通過dept_id, join_date從員工組中選擇dept_id, join_date, sum(工資);
2 choose three
選擇三個
which three are true about the create table command?
關于create table命令,哪三個是正確的?
A) it can include the create … index statement for creating an index to enforce the primary key constraint.
它可以包括create…用于創建執行主鍵約束的索引的索引語句。
B) the owner of the table should have space quota available on the tablespace where the table is defined.
表的所有者應該在定義表的表空間上有可用的空間配額。
C) it implicitly executes a commit.
隱式執行commit。
3 choose two
選擇兩個
the customes table has a cust_credt_limit colum of data type number.
customes表有一個cust_credt_limit colum,數據類型為number。
which two queries execute successtully?
哪兩個查詢執行成功?
D) select nvl(to_char(cust_credit_limit * .15),‘not available’) from custmers;
從custmers選擇nvl(to_char(cust_credit_limit * .15),‘不可用’);
E) select nvl2(cust_credit_limit, to_char(cust_credit * .15), ‘not available’) from customers.
從客戶處選擇nvl2(cust_credit_limit, to_char(cust_credit * .15), ‘不可用’)。
4 choose two
選擇兩個
exammine the desciption of the product detals table:
檢查產品detals表的描述:
which two statements are true?
哪兩種說法是正確的?
A) product_id can be assigned the peimary key constraint.
product_id可以被分配peimary key約束。
D) profuct_price can be used in an arithmetic expression even if it has no valus stored in it.
profuct_price可以用于算術表達式,即使它沒有值存儲在里面。
5 choose the best answer
選擇最好的答案
the customers table has a cust_last_name coumn of data type varchar2.
customers表有一個數據類型varchar2的cust_last_name庫。
the table has two rows whose cost_last_name values are anderson and ausson.
該表有兩行,其cost_last_name值是anderson和ausson。
which query produces putput for cust_last_name containing order for the first row and aus for the second?
哪個查詢為cust_last_name生成包含第一行訂單和第二行aus的putput ?
A) select replace (replace( cust_last_name, ‘son’, ’ '), ‘an’ , ‘0’ ) from customers.
從客戶中選擇replace(replace(cust_last_name, ‘son’, ’ '), ‘an’, ‘0’)。
6 choose three
選3
which three statements are true about indexs and thir administration in an orade database?
哪三個陳述是正確的關于索引和管理在一個orade數據庫?
B) an index cna be created as part of a create table statement.
索引可以作為create table語句的一部分創建。
C) a drop index statement always prevents updates to the table during the drop opeaton.
drop index語句總是防止在drop opeaton過程中對表進行更新。
E) a descending index is a type of funcion-based index.
降序指數是一種基于基金的指數。
7 choose three
選擇三個
whcih are true about granting object privileges on tables, views , and sequences?
在表、視圖和序列上授予對象特權是什么?
A) update can be granted only on tables and views.
只能對表和視圖進行更新。
C) references can be granted only on tables and views.
只能在表和視圖上授予引用。
F) alter can be granted only on tables and sequences.
alter只能被授予表和序列。
8 choose the best answer
選擇最好的答案
the employees table contains columns emp_id of data type number and hire_date of data type date
employees表包含數據類型為number的列emp_id和數據類型為date的列hire_date
you wnat to display the date of the first monday after the completion of six months sinece hiring the nls_territory parameter is set to america in the session and, therrefore , sunday is the first day ofthe week.
在會話中,nls_territory參數被設置為america,因此,星期日是一周的第一天。
which query can be used?
可以使用哪個查詢?
A) select emp_id,next_day(add_months(hite_date,6), ‘monday’ ) from emploees;
從雇員中選擇emp_id,next_day(add_months(hite_date,6), ‘monday’);
9 choose three
選3
which three statements are true about views in an oralce batabase?
哪三個陳述是正確的關于視圖在口頭數據庫?
B) rows inserted into a table using a view are retained in th table if the view is dopped.
使用視圖插入到表中的行被保留在表中,如果視圖被插入。
C)views can join tables only if they belong to the same schema.
只有當視圖屬于同一模式時,視圖才能連接表。
D) views have no segment.
視圖沒有分段。
10 choose two
選擇兩個
which two statements are true about oralce synonyms?
關于口頭同義詞,哪兩種說法是正確的?
A) a synonym canhave a synonym .
同義詞可以有同義詞。
E) a synonym has an object number.
同義詞有一個對象編號。
11 choose two
選兩個
which two statements are true about a self join?
關于自連接,哪兩個陳述是正確的?
B) it can be a left outer join.
它可以是左外連接。
D) it can be an inner join.
它可以是一個內連接。
12 choose two
個選擇兩個
which two statements are true about dropping and unused columns in an oralce database?
在oralce數據庫中刪除和未使用的列,哪兩條語句是正確的?
A) a parimary key column referenced by another column as a foreign key can be dropped if using the cascade option.
如果使用cascade選項,另一列作為外鍵引用的副鍵列可以被刪除。
E) partition key column cannot be dropped.
無法刪除分區鍵列。
13 choose the best answer
選擇最好的答案
examine this query:
檢查這個查詢:
select trunc ( round(156.00, -2) , -1) from dual;
what is the result?
結果如何?
D) 200
14 choose two
個選擇兩個
examine this sql statement:
檢查這個sql語句:
update orders o set customer_name = (select cust_last)name from customers
where customer_id = o.customer_id);
which two are true?
哪兩個是正確的?
B) all existing rows i nthe orders tables are updated.
訂單表中的所有現有行都被更新。
C) the subquery is executed for every updated row in the orders table.
對orders表中的每個更新行執行子查詢。
15 choose three
選擇三個
examine the description of the products table:
檢查產品描述表:
which three queres use valid expressions?
哪三個查詢使用有效的表達式?
B) select profuct_id, (unit_price * 0.15 / (4.75 + 552.25)) from products;
C) select product_id, (expiry_date - delivery_date) * 2 from products;
E) select product_id, unit_price , unit_price + surcharge from products;
16 choose two
個選擇兩個
examine this partial command:
檢查這個部分命令:
create table cust (
cust_id number(2),
credit_limit number(10)
)
organization externa
組織答辯
which two clauses are required for this command to execute successfully?
要成功執行此命令,需要哪兩個子句?
A) the default directory clause.
默認目錄子句。
D) the access parameters clause.
access parameters子句。
總結
以上是生活随笔為你收集整理的12C OCP 1ZO-071 题库(8月以前)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 12C OCP IZO-62 题库(8
- 下一篇: RHCSA7-NOTE(红帽管理员-题库