單項(xiàng)選擇題

TEAMS表包含以下各列:
TEAM_ID NUMBER(4)
Primary Key TEAM_NAMEVARCHAR2(20)
MGR_ID NUMBER(9)
TEAMS表當(dāng)前是空表。您需要允許用戶在經(jīng)理標(biāo)識(shí)值中包含文本字符。應(yīng)使用以下哪條語(yǔ)句來(lái)執(zhí)行此任務(wù)()

A.ALTER teams MODIFY(mgr_id VARCHAR2(15))
B.ALTERTABLE teams MODIFY(mgr_id VARCHAR2(15))
C.ALTERTABLE teams REPLACE(mgr_id VARCHAR2(15))
D.ALTER teams TABLEMODIFYCOLUMN(mgr_id VARCHAR2(15))


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題您的主管讓您修改ORDERS表中的AMOUNT列。他要求將該列配置為接受默認(rèn)值250。該表包含您需要保留的數(shù)據(jù)。應(yīng)執(zhí)行以下哪條語(yǔ)句來(lái)完成此任務(wù)()

A.ALTER TABLE orders CHANGE DATATYPE amount TO DEFAULT 250
B.ALTER TABLE orders MODIFY(amount DEFAULT 250)
C.DROP TABLE orders CREATE TABLE orders(orderno varchar2(5)CONSTRAINT pk_orders_01 PRIMARY KEY,customerid varchar2(5)REFERENCES customers(customerid),orderdate date,amount DEFAULT 250)
D.DELETE TABLE orders CREATE TABLE orders(orderno varchar2(5)CONSTRAINT pk_orders_01 PRIMARY KEY,customerid varchar2(5)REFERENCES customers(customerid),orderdate date,amount DEFAULT 250)