Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Which of the following illustrates the author's preferred style of defining a primary key? 3 8 ) _ _ _ _ _ _ A )
Which of the following illustrates the author's preferred style of
defining a primary key?
A CREATE TABLE CUSTOMER
CustomerID Integer Not Null
LastName Char Not Null
First Name Char Null
CONSTRAINT CustomerPK PRIMARY KEY CustomerID
;
B CREATE TABLE CUSTOMER
CustomerID Integer Not Null
LastName Char Not Null
First Name Char Null
;
ALTER TABLE CUSTOMER
ADD CONSTRAINT CustomerPK PRIMARY KEY
CustomerID;
C CREATE TABLE CUSTOMER
CustomerID Integer Primary Key
LastName Char Not Null
First Name Char Null
;
D either B or C
E The author does not demonstrate a preference for how to define a
primary key.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started