Multiple Choice
Which of the following illustrates the authors' preferred style of defining a primary key?
A) CREATE TABLE CUSTOMER (
CustomerID Integer Primary Key
LastName Char(35) Not Null
First Name Char(25) Null
B) CREATE TABLE CUSTOMER (
CustomerID Integer Not Null
LastName Char(35) Not Null
First Name Char(25) Null
CONSTRAINT CustomerPK PRIMARY KEY (CustomerID)
C) CREATE TABLE CUSTOMER (
CustomerID Integer Not Null
LastName Char(35) Not Null
First Name Char(25) Null
D) either B or C
E) The author does not demonstrate a preference for how to define a primary key.
Correct Answer:

Verified
Correct Answer:
Verified
Q12: The Oracle DBMS supports the SQL BEFORE
Q17: One or more rows can be added
Q35: The SQL keyword PRIMARY KEY is used
Q40: Unlike application code,stored procedures are never distributed
Q61: SQL triggers are used for providing default
Q73: SQL triggers use the ANSI SQL keywords
Q88: Which keyword is used to remove one
Q94: The SQL keyword DELETE is used to
Q101: What are SQL stored procedures and how
Q102: If the table PRODUCT has a column