Solved

​Structure of the ORDERITEMS Table

Question 86

Multiple Choice

​Structure of the ORDERITEMS table
​Structure of the ORDERITEMS table    -Based on the structure of the ORDERITEMS table,which of the following commands was most likely used to create the table?​ A)  ​CREATE TABLE orderitems (order# NUMBER (4) PRIMARY KEY, Item# NUMBER(2) PRIMARY KEY, Isbn VARCHAR2(10) , Qty NUMBER(3) ) ; B)  ​CREATE TABLE orderitems (order# NUMBER (4) , Item# NUMBER(2) , Isbn VARCHAR2(10) , Qty NUMBER(3) , NOT NULL (order#,item#) ) ; C)  ​CREATE TABLE orderitems (order# NUMBER (4) , Item# NUMBER(2) , Isbn VARCHAR2(10) , Qty NUMBER(3) , PRIMARY KEY(order#,item#) ) ; D)  ​CREATE TABLE orderitems (order# NUMBER (4) , Item# NUMBER(2) , Isbn VARCHAR2(10) , Qty NUMBER(3) , PRIMARY KEY(order#) , PRIMARY KEY(order#) ) ;
-Based on the structure of the ORDERITEMS table,which of the following commands was most likely used to create the table?​


A) ​CREATE TABLE orderitems
(order# NUMBER (4) PRIMARY KEY,
Item# NUMBER(2) PRIMARY KEY,
Isbn VARCHAR2(10) ,
Qty NUMBER(3) ) ;
B) ​CREATE TABLE orderitems
(order# NUMBER (4) ,
Item# NUMBER(2) ,
Isbn VARCHAR2(10) ,
Qty NUMBER(3) ,
NOT NULL (order#,item#) ) ;
C) ​CREATE TABLE orderitems
(order# NUMBER (4) ,
Item# NUMBER(2) ,
Isbn VARCHAR2(10) ,
Qty NUMBER(3) ,
PRIMARY KEY(order#,item#) ) ;
D) ​CREATE TABLE orderitems
(order# NUMBER (4) ,
Item# NUMBER(2) ,
Isbn VARCHAR2(10) ,
Qty NUMBER(3) ,
PRIMARY KEY(order#) ,
PRIMARY KEY(order#) ) ;

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