Professional Documents
Culture Documents
DDL Statements:: For Table "Employee"
DDL Statements:: For Table "Employee"
amount currency,CONSTRATIN
ph_patientNo FOREIGN KEY (patientNo)
REFERENCES patient(patientNo))
For table "cafeteria"
CREATE TABLE cafeteria(patientNo int
NOT NULL,orderdate date NOT
NULL,particulars varchar(100),rate
currency,qty int,amount
currency,CONSTRAINT caf_patientNo
FOREIGN KEY (patientNo) REFERENCES
patient(patientNo),)
For table "test"
CREATE TABLE test(patientNo int NOT
NULL,testdate date,testhead
varchar(100),amount currency,remarks
text,CONSTRATIN test_patientNo
FOREIGN KEY (patientNo) REFERENCES
patient(patientNo))