diff --git a/CSVs/Department.csv b/CSVs/Department.csv new file mode 100644 index 0000000..175db42 --- /dev/null +++ b/CSVs/Department.csv @@ -0,0 +1,4 @@ +Dname,Dnumber,Mgr_ssn,Mgr_start_date +Research,5,333445555,1988-05-22 +Administration,4,987654321,1995-01-01 +Headquarters,1,888665555,1981-06-19 diff --git a/CSVs/Dependent.csv b/CSVs/Dependent.csv new file mode 100644 index 0000000..f86a6d1 --- /dev/null +++ b/CSVs/Dependent.csv @@ -0,0 +1,8 @@ +Essn,Dependent_name,Sex,Bdate,Relationship +333445555,Alice,F,1986-04-05,Daughter +333445555,Theodore,M,1983-10-25,Son +333445555,Joy,F,1958-05-03,Spouse +987654321,Abner,M,1942-02-28,Spouse +123456789,Michael,M,1988-01-04,Son +123456789,Alice,F,1988-12-30,Daughter +123456789,Elizabeth,F,1967-05-05,Spouse diff --git a/CSVs/Dept_Locations.csv b/CSVs/Dept_Locations.csv new file mode 100644 index 0000000..4871aae --- /dev/null +++ b/CSVs/Dept_Locations.csv @@ -0,0 +1,6 @@ +Dnumber,Dlocation +1,Houston +4,Stafford +5,Bellaire +5,Sugarland +5,Houston diff --git a/CSVs/Employee.csv b/CSVs/Employee.csv new file mode 100644 index 0000000..66b5a5d --- /dev/null +++ b/CSVs/Employee.csv @@ -0,0 +1,9 @@ +Fname,Minit,Lname,Ssn,Bdate,Address,Sex,Salary,Super_ssn,Dno +John,B,Smith,123456789,1965-01-09,"731 Fondren, Houston, TX",M,30000,333445555,5 +Franklin,T,Wong,3334455555,1955-12-08,"638 Voss, Houston, TX",M,40000,888665555,5 +Alicia,J,Zeleya,999887777,1968-01-19,"3321 Castle, Spring, TX",F,25000,987654321,4 +Jennifer,S,Wallace,987654321,1941-06-20,"291 Berry, Bellaire, TX",F,43000,888665555,4 +Ramesh,K,Narayan,666884444,1962-09-15,"975 Fire Oak, Humble, TX",M,38000,3334455555,5 +Joyce,A,English,453453453,1972-07-31,"5631 Rice, Houston, TX",F,25000,333445555,5 +Ahmad,V,Jabbar,987987987,1969-03-29,"980 Dallas, Houston, TX",M,25000,987654321,4 +James,E,Borg,888665555,1937-11-10,"450 Stone, Houston, TX",M,55000,NULL,1 diff --git a/CSVs/Project.csv b/CSVs/Project.csv new file mode 100644 index 0000000..4a5671d --- /dev/null +++ b/CSVs/Project.csv @@ -0,0 +1,7 @@ +Pname,Pnumber,Plocation,Dnum +ProductX,1,Bellaire,5 +ProductY,2,Sugarland,5 +ProductZ,3,Houston,5 +Computerization,10,Stafford,4 +Reorganization,20,Houston,1 +Newbenefits,30,Stafford,4 diff --git a/CSVs/Works_on.csv b/CSVs/Works_on.csv new file mode 100644 index 0000000..e721bdd --- /dev/null +++ b/CSVs/Works_on.csv @@ -0,0 +1,17 @@ +Essn,Pno,Hours +123456789,1,32.5 +123456789,2,7.5 +666884444,3,40.0 +453453453,1,20.0 +453453453,2,20.0 +33344555,2,10.0 +33344555,3,10.0 +33344555,10,10.0 +33344555,20,10.0 +999887777,30,30.0 +999887777,10,10.0 +987987987,10,35.0 +987987987,30,5.0 +987654321,30,20.0 +987654321,20,15.0 +888665555,20,NULL diff --git a/asg_rel_alg3.docx b/asg_rel_alg3.docx new file mode 100644 index 0000000..53288a0 Binary files /dev/null and b/asg_rel_alg3.docx differ diff --git a/asg_rel_alg4.pdf b/asg_rel_alg4.pdf new file mode 100644 index 0000000..20e9f07 Binary files /dev/null and b/asg_rel_alg4.pdf differ