The ORDERS table&ensp

题目

The ORDERS table in the database of a company contains one million records. The table is stored in the DATA tablespace and the index created on the ORDERS table is stored in the index tablespace named INDEXES. On Monday, you failed to start the database because the datafiles of the INDEXES tablespace were missing. You dropped and recreated the INDEXES tablespace by issuing the following command:    SQL>DROP TABLESPACE INDEXES INCLUDING CONTENTS;    SQL> CREATE TABLESPACE INDEXES DATAFILE   ’C:///ORACLE/ORADATA/ORA101t/INDEX01.DBF’ SIZE 50m;   After that, you issued the following command to recreate the index:    CREATE UNIQUE INDEX sales_index_pk ON sales (order_id)   PCTFREE 10   INITRANS 2   MAXTRANS 255   TABLESPACE indexes   STORAGE (   INITIAL 1m  NEXT 1m   PCTINCREASE 0   MINEXTENTS 1   MAXEXTENTS 8192  )   NOLOGGING   PARALLEL( degree 4)   Which two clauses are responsible for reducing the time for the recreation of the index?()

  • A、 PCTFREE
  • B、 MAXTRANS
  • C、 PCTINCREASE
  • D、 INITIAL
  • E、 NOLOGGING
  • F、 PARALLEL
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

下列语句错误的是( )

A.select * from orders where ordername is not null;

B.select * from orders where ordername<>null;

C.select * from orders where ordername is null;

D.select * from orders where ordername not is null;


正确答案:D,B 

第2题:

additional orders(英译中)


参考答案:额外订购,追加订购

第3题:

—Miss. Eldon, please look again for those orders from the Diamond Store.—They’re not with the other orders, sir. They () be there, but they’re not.

A、may

B、can

C、will

D、ought to


参考答案:D

第4题:

Examine the data from the ORDERS and CUSTOMERS table.Which SQL statement retrieves the order ID, customer ID, and order total for the orders that are placed on the same day that Martin places his orders?()

A.

B.

C.

D.


参考答案:B

第5题:

TheORDERStablebelongstotheuserOE.OEhasgrantedtheSELECTprivilegeontheORDERStabletotheuserHR.WhichstatementwouldcreateasynonymORDsothatHRcanexecutethefollowingquerysuccessfully?()

A.CREATESYNONYMordFORorders;ThiscommandisissuedbyOE

B.CREATEPUBLICSYNONYMordFORorders;ThiscommandisissuedbyOE

C.CREATESYNONYMordFORoe.orders;Thiscommandisissuedbythedatabaseadministrator

D.CREATEPUBLICSYNONYMordFORoe.orders;Thiscommandisissuedbythedatabaseadministrator


参考答案:D

第6题:

place regular orders(英译中)


参考答案:定期订购

第7题:

The ORDERS table has these columns:ORDER_ID NUMBER(4) NOT NULLCUSTOMER_ID NUMBER(12) NOT NULLORDER_TOTAL NUMBER(10,2)The ORDERS table tracks the Order number, the order total, and the customer to whom the Order belongs.Which two statements retrieve orders with an inclusive total that ranges between 100.00 and 2000.00 dollars? ()

A. SELECT customer_id, order_id, order_total FROM orders RANGE ON order _ total (100 AND 2000) INCLUSIVE;

B. SELECT customer_id, order_id, order_total FROM orders HAVING order _ total BETWEEN 100 and 2000;

C. SELECT customer_id, order_id, order_total FROM orders WHERE order _ total BETWEEN 100 and 2000;

D. SELECT customer_id, order_id, order_total FROM orders WHERE order_total>= 100 and <= 2000;

E. SELECT customer_id, order_id, order_total FROM orders WHERE order_total>= 100 and order_total <= 2000;


参考答案:C, E

第8题:

下面检索结果一定不是一行的命令是( )

A.select distinct * from orders ;

B.select * from orders limit 1,2;

C.select top 1 * from orders;

D.select * from orders limit 1;


正确答案:C,A,B 

第9题:

Inwhichsituationwillyourunthescriptcontainingthefollowingstatement?()

CREATECONTROLFILEREUSEDATABASESALESNORESETLOGSARCHIVELOG

MAXLOGFILES20

MAXLOGMEMBERS3

MAXDATAFILES30

MAXINSTANCES10

MAXLOGHISTORY1200

LOGFILE

GROUP1(

’/disk1/prod/orders/db/log1a.dbf’,

’/disk2/prod/orders/db/log1b.dbf’

)SIZE100K

GROUP2(

’/disk1/prod/orders/db/log2a.dbf’,

’/disk2/prod/orders/db/log2b.dbf’

)SIZE100K,

DATAFILE

’/disk1/prod/orders/db/database1.dbf’,

’/disk2/prod/orders/db/file1.dbf’;


参考答案:B

第10题:

How many orders are included in standard ship orders? Can you list some?


正确答案:There are four orders included in the standard ship orders. They are the helm orders, anchor orders, mooring and unmooring orders, and the engine orders.

更多相关问题