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#) ) ;
Correct Answer:
Verified
Q81: Which clause will allow you to delete
Q82: The _ constraint prevents the user from
Q83: Which of the following constraints cannot be
Q84: Structure of the ORDERITEMS table
Q85: In the USER_CONSTRAINTS view,the value displayed in
Q87: Which of the following keywords must have
Q88: Structure of the ORDERITEMS table
Q89: Which of the following types of constraints
Q90: A FOREIGN KEY constraint can only reference
Q91: Which command can be used to determine
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents