Multiple Choice
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
Correct Answer:
Verified
Q26: A(n)_ constraint requires that,if an entry is
Q27: A NOT NULL constraint can only be
Q28: In the USER_CONSTRAINTS view,the value displayed in
Q29: A constraint can be added to a
Q30: Referential _ means that the user is
Q32: The _ command can be used to
Q33: A FOREIGN KEY constraint can only reference
Q34: How can constraints be added to a
Q35: A(n)<u>NOT NULL</u> constraint is a special CHECK
Q36: When dropping a constraint,the user is always