EvaluatethefollowingSQLstatementusedtocreatethePRODUCTStable:CREATETABLEproducts(product_idNUMBER(3)PRIMARYKEY,product_descVARCHAR2(25),qtyNUMBER(8,2),rateNUMBER(10,2),total_valueAS(qty*rate))PARTITIONBYRANGE(total_value)(PARTITIONp1VALUESLESSTHAN(100000)

题目

EvaluatethefollowingSQLstatementusedtocreatethePRODUCTStable:CREATETABLEproducts(product_idNUMBER(3)PRIMARYKEY,product_descVARCHAR2(25),qtyNUMBER(8,2),rateNUMBER(10,2),total_valueAS(qty*rate))PARTITIONBYRANGE(total_value)(PARTITIONp1VALUESLESSTHAN(100000),PARTITIONp2VALUESLESSTHAN(150000),PARTITIONp3VALUESLESSTHAN(MAXVALUE))COMPRESSFORALLOPERATIONS;Whichstatementistrueregardingthiscommand?()

A.Itexecutessuccessfullybutpartitionpruningcannothappenforthispartitionkey.

B.ItproducesanerrorbecausetheTOTAL_VALUEcolumncannotbeusedasapartitionkey.

C.ItproducesanerrorbecausecompressioncannotbeusedfortheTOTAL_VALUEpartitionkey.

D.ItexecutessuccessfullybutthevaluesintheTOTAL_VALUEcolumnwouldnotbephysically storedinthepartitions.


相似考题