This document creates an employee education database with three tables: an employee table to store employee details, a degree table to store degree programs, and an employee degree table to link employees to their degrees. It inserts sample data into all three tables to demonstrate the structure and relationships between the tables.
This document creates an employee education database with three tables: an employee table to store employee details, a degree table to store degree programs, and an employee degree table to link employees to their degrees. It inserts sample data into all three tables to demonstrate the structure and relationships between the tables.
This document creates an employee education database with three tables: an employee table to store employee details, a degree table to store degree programs, and an employee degree table to link employees to their degrees. It inserts sample data into all three tables to demonstrate the structure and relationships between the tables.
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 );
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')