Question: CREATE TABLE SALESREP ( table [ [ SalesRepNo , int,NOT NULL, ] , [ RepName , char ( 3 5 ) , NOT NULL,

CREATE TABLE SALESREP (
\table[[SalesRepNo,int,NOT NULL,],[RepName,char(35),NOT NULL,],[HireDate,date,NOT NULL,]]
CONSTRAINT SalesRepPK PRIMARY KEY (SalesRepNo), CONSTRAINT SalesRepAK1 UNIQUE (RepName));
We know that
RepName is the primary key
RepName is a foreign key
RepName can be a primary key
the value of SalesRepNo is not unique
 CREATE TABLE SALESREP ( \table[[SalesRepNo,int,NOT NULL,],[RepName,char(35),NOT NULL,],[HireDate,date,NOT NULL,]] CONSTRAINT SalesRepPK PRIMARY

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!