Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 3

/*create Database Employee_Education_DBase;

create table EMPLOYEE_Tbl(


Employee_ID int not null primary key,
Employee_Name varchar(100) not null,
Employee_Address varchar(100),
Employee_ContactNo varchar (50),
Employee_SSSID int not null
);

insert into employee_tbl values


(101,'Abolac Mark', 'City of San Fernando La Union', '09986531782', '201'),
(102,'Tecman Rose Anne', 'Tuguegarao City, Cagayan', '09356531782','202'),
(103,'Santiago Ianne', 'San Ildefonso, Bulacan', '09166531782','203'),
(104,'Gonzales Emalyn', 'Imus, Cavite', '09166531987','204'),
(105,'Macapagal Glaiza', 'Calamba, Laguna', '09168831987','205'),
(106,'Batumbakal Frimia', 'Legaspi City', '09168830987','206'),
(107,'Santos Mariel', 'Iloilo City', '09908830987','207'),
(108,'Sakuragi Yuka', 'Bacolod City', '09108830987','208'),
(109,'Smith Elmar', 'Cebu City', '09638830987','209'),
(110,'Valod Jersie', 'Tacloban City', '09138830987','210'),
(111,'Cruz Angela', 'Isabela City', '09038830987','211'),
(112,'Lumod Christian', 'Zamboanga City','097656400563','212'),
(113,'Pazor Van', 'Olonggapo City','09234156734','213'),
(114,'Kalum Khalid', 'Calamba, Laguna','09028227647','214'),
(115,'Manalo Jayson', 'Baguio City','09773659293','215'),
(116,'Rombo Monghe', 'Pampanga City','097682454563','216'),
(117,'Cambis Robin', 'Baliwag Bulacan','09715100563','217'),
(118,'Sales Marian', 'Quezon City','09769289364','218'),
(119,'Alfonso Ginnie', 'Pulilan Bulacan','0976589376','219'),
(120,'Nuban David', 'Pangasinan Province', '09765640053','220'),
(121,'Dumpan Karen', 'Imus Cavite', '095636378462','221'),
(122,'Yambot Joy', 'Cagayan Province', '09057293863','222'),
(123,'Ines Ann', 'Oriental Mindoro', '09300918373','223'),
(124,'Padao Gian', 'Tuguegarao City, Cagayan', '0974829746','224'),
(125,'Ramos James', 'San Ildefonso, Bulacan', '09117828660','225'),
(126,'Uday Mary Rose', 'Imus, Cavite', '099870211567','226'),
(127,'Kitos Barbie', 'Iloilo City', '09830987762','227'),
(128,'Hadum Harold', 'Bacolod City', '09198763701','228'),
(129,'Reyes Tricia', 'Cebu City', '09389734765','229'),
(130,'Camo Darwin', 'Calamba, Laguna','09056279948','230'),
(131,'Monkey Luffy', 'Baguio City','09771359648','231'),
(132,'Jacinto Angelo', 'Pampanga City','09724548399','232'),
(133,'Vanes Lily', 'Baliwag Bulacan','09298127464','233'),
(134,'Wamos Sandy', 'Quezon City','090483746280','234'),
(135,'Zamora Amber', 'Pulilan Bulacan','0981736409','235'),
(136,'Igado Angelica', 'Cebu City', '097762546738','236'),
(137,'Crispin Will', 'Tacloban City', '09137729065','237'),
(138,'Lapuz Gavin', 'Isabela City', '09435736589','238'),
(139,'Dahis Micheal', 'Pangasinan Province', '09053343473','239'),
(140,'Ponce Aira', 'Imus Cavite', '09563425340','240'),
(141,'Kadawi Mayla', 'Cagayan Province', '090723833455','241'),
(142,'Velasques Knight', 'Oriental Mindoro', '09300321218','242'),
(143,'Aquino Harold', 'Tuguegarao City, Cagayan', '09748987974','243'),
(144,'Belbes Alma', 'San Ildefonso, Bulacan', '09145368829','244'),
(145,'Javier Lorrence', 'Imus, Cavite', '09981245873','245'),
(146,'Nunez Evelyn', 'Iloilo City', '09830998364','246'),
(147,'Safra Violet', 'Quezon City','099435263547','247'),
(148,'De Mesa Marryple', 'Pulilan Bulacan','09816478379','248'),
(149,'Fajardo Gerome', 'Cebu City', '09726994046','249'),
(150,'Esteban Irish', 'Tacloban City', '095677483658','250')

Create table Degree_Tbl(


Deg_Code int not null primary key,
Deg_Title varchar (100),
Deg_Years varchar(50),
Deg_Noofunit varchar(50)
);

Insert into degree_tbl values


(201,' Batchelor of Science In Information Technology', '4', '53'),
(202,' Batchelor of Science In Geodetic Engineering ', '4', '53'),
(203,' Batchelor of Science In Education', '4', '53'),
(204,' Batchelor of Science In Business Administration ', '4', '53'),
(206,' Batchelor of Science In Hospitality and management', '4', '53'),
(207,' Batchelor of Science In Food technology ', '4', '53'),
(208,' Batchelor of Science In Civil Engineering', '4', '53'),
(209,' Batchelor of Science In Doctor Veterinary Medical','4','53'),
(210,' Batchelor of Science In Medical Technology ', '4', '53')

Create table employee_Degree_tbdegree_tbldegree_tbl(


EmpDed_Code int not null primary key,
EmpDeg_YrStarted varchar (100),
Emp_Deg_YrGrad varchar(50),
Employee_ID int,
Deg_Code int,
Foreign key (Employee_ID) references employee_tbl (Employee_ID),
Foreign key (Deg_Code) references degree_tbl (Deg_Code)
);

insert into employee_Degree_tbdegree_tbldegree_tbl values


(1001,'2004','2008','101','201'),
(1002,'2004','2008','102','202'),
(1003,'2004','2008','103','203'),
(1004,'2004','2008','104','204'),
(1005,'2004','2008','105','205'),
(1006,'2004','2008','106','206'),
(1007,'2004','2008','107','207'),
(1008,'2004','2008','108','208'),
(1009,'2004','2008','109','209'),
(1010,'2004','2008','110','210'),
(1011,'2004','2008','111','201'),
(1012,'2004','2008','112','202'),
(1013,'2004','2008','113','203'),
(1014,'2004','2008','114','204'),
(1015,'2004','2008','115','205'),
(1016,'2004','2008','116','206'),
(1017,'2004','2008','117','207'),
(1018,'2004','2008','118','208'),
(1019,'2004','2008','119','209'),
(1020,'2004','2008','120','210'),
(1021,'2004','2008','121','201'),
(1022,'2004','2008','122','202'),
(1023,'2004','2008','123','203'),
(1024,'2004','2008','124','204'),
(1025,'2004','2008','125','205'),
(1026,'2004','2008','126','206'),
(1027,'2004','2008','127','207'),
(1028,'2004','2008','128','208'),
(1029,'2004','2008','129','209'),
(1030,'2004','2008','130','210'),
(1031,'2004','2008','131','201'),
(1033,'2004','2008','132','202'),
(1034,'2004','2008','133','203'),
(1035,'2004','2008','134','204'),
(1036,'2004','2008','135','205'),
(1037,'2004','2008','136','206'),
(1038,'2004','2008','137','207'),
(1039,'2004','2008','138','208'),
(1040,'2004','2008','129','209'),
(1041,'2004','2008','140','210'),
(1042,'2004','2008','141','201'),
(1043,'2004','2008','142','202'),
(1044,'2004','2008','143','203'),
(1045,'2004','2008','145','205'),
(1046,'2004','2008','146','206'),
(1047,'2004','2008','147','207'),
(1048,'2004','2008','148','208'),
(1049,'2004','2008','149','209'),
(1050,'2004','2008','150','210')

*/

You might also like