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 authors do not demonstrate a preference for how to define a primary key.
Correct Answer:

Verified
Correct Answer:
Verified
Q31: If the values in an SQL view
Q32: What is embedded SQL,and what considerations are
Q44: If the table PRODUCT has a column
Q46: If the table ITEM has a column
Q48: The SQL keyword CONSTRAINT is used in
Q52: When the correct SQL command is used
Q52: According to the SQL-92,statements used to construct
Q57: SQL triggers are created using the SQL
Q87: Because SQL stored procedures allow and encourage
Q98: The values in an SQL view are