Doc_Specialty_Number INT not null IDENTITY PRIMARY KEY,
Doc_Specialty VARCHAR(30) not null, );
INSERT INTO DoctorSpecialty( Doc_Specialty)
VALUES( 'Any specialty name.')
SELECT * FROM DoctorSpecialty;
CREATE TABLE Doctor (
Doctor_ID INT not null IDENTITY PRIMARY KEY, Doctor_Name VARCHAR(20) not null, Doctor_Phone VARCHAR(20) not null, Doctor_Email VARCHAR(30), Doc_Specialty_Number INT not null,
FOREIGN KEY (Doc_Specialty_Number) REFERENCES
DoctorSpecialty(Doc_Specialty_Number) );
INSERT INTO Doctor( Doctor_Name, Doctor_Phone, Doctor_Email,
Patient_ID INT not null IDENTITY PRIMARY KEY, Patient_Name VARCHAR(20) not null, Patient_Phone VARCHAR(20) not null, Patient_Email VARCHAR(30), Patient_Address VARCHAR(50) not null, Patient_RegisterDate DATE not null, Doctor_ID INT not null, FOREIGN KEY (Doctor_ID) REFERENCES Doctor(Doctor_ID) );
INSERT INTO Patient ( Patient_Name, Patient_Phone, Patient_Email, Patient_Address,
Appoint_ID INT not null IDENTITY PRIMARY KEY, Appoint_Date DATE not null, Patient_ID INT not null, Doctor_Name VARCHAR(20) not null, Patient_Bloodplssr INT not null, Doctors_Treatnote VARCHAR(100),