Solved

​Structure of the PROMOTION Table

Question 105

Multiple Choice

​Structure of the PROMOTION table
​Structure of the PROMOTION table    -Based on the structure of the PROMOTION table,which of the following commands will add a PRIMARY KEY constraint to the GIFT column?​ A)  CREATE TABLE promotion (gift VARCHAR2(15) PRIMARY KEY, Minretail NUMBER(5,2) , Maxretail NUMBER(5,2) ) ; B)  ALTER TABLE promotion ADD PRIMARY KEY(gift) ; C)  ​ALTER TABLE promotion MODIFY (gift PRIMARY KEY) ; D)  ​none of the above
-Based on the structure of the PROMOTION table,which of the following commands will add a PRIMARY KEY constraint to the GIFT column?​


A) CREATE TABLE promotion
(gift VARCHAR2(15) PRIMARY KEY,
Minretail NUMBER(5,2) ,
Maxretail NUMBER(5,2) ) ;
B) ALTER TABLE promotion
ADD PRIMARY KEY(gift) ;
C) ​ALTER TABLE promotion
MODIFY (gift PRIMARY KEY) ;
D) ​none of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents