Question: I posted this cod in my SQL and keep getting error: Create Table Specialty ( SpecialtyNumber Char(10) Not Null, SpecialtyNameChar (50) Not Null, CONSTRAINT pk_sn

I posted this cod in my SQL and keep getting error: Create Table Specialty ( 

SpecialtyNumber Char(10) Not Null, 

SpecialtyNameChar (50) Not Null, 

CONSTRAINT pk_sn PRIMARY KEY (SpecialtyName), 

CONSTRAINT uq_sn Unique (SpecialtyNumber) 

); 

My  code is: 

Create Table Specialty ( 

SpecialtyNumber Char(10) Not Null, 

SpecialtyNameChar (50) Not Null, 

CONSTRAINT pk_sn PRIMARY KEY (SpecialtyName), 

CONSTRAINT uq_sn Unique (SpecialtyNumber) 

); 

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!