SlideShare a Scribd company logo
1
Group #8
Lakpa Yanzi Sherpa (1370468)
Keshab Luitel
CSCI 3423.50
Final Project Part 2 – Project Implementation
Name of the Kindergarten: Wisdom Kindergarten
This is the progress of the second phase. Other requirements can be added as we move on
where necessary.
Project goal:
This project involves creating a user-friendly Database Management Software for
Wisdom Kindergarten. The software streamlines the management of student
information, including health records and outstanding balances, while enhancing
administrative operations and decision-making. It efficiently handles data about
guardians, students, teachers, health records, finances, subjects, and classrooms,
enabling easy student tracking, health insights, financial planning, and progress
monitoring. The software also fosters smooth communication among users and
facilitates connections between guardians, teachers, and students, simplifying
kindergarten administration.
Database Description:
The database will store data related to 8 entities which include:
Student,Guardian,Teachers,HealthRecord,Finances, Progress.classroom and subject.
Benefits:
Store and keep track of student details like names,date of birth.
store and manage guardian details like names,phone numbers.
2
Store and manage teacher information such as name,prefessional qualification.
Record student progress
Keep track of health records such as allergies of students.
Manage classrooms and subjects.
Manage finances by monitoring payment status and deadlines.
Data Model & Design:
ER DIRAGRAM
Below is the attachment of the relational schema based on the ER diagram, which is
above,
3
Business rules:
1.Phone number maybe optional to teachers.
2.Each guardian can provide one or more phone contact.
3.Student can have an allergie to multiple items.
4.Each student makes specific payment.
5.Each payment has a status like overdue.
6.Each student has one progress record.
7.Each student has one health record.
8.Each student has one or more guardian.
9.Teachers can be linked to one or more students.
10.classroom can be linked to one or more students.
11.Subject can be linked to one or more students.
Data dictionary:
4
Student Table:
Field Name Data Type Field Length Constraint
StudentID (PK) CHAR 2 NOT NULL
StudentFirstName VARCHAR 20 NOT NULL
StudentLastName VARCHAR 20 NOT NULL
StudentGender CHAR 1 NOT NULL
StudentContactNumber NUMERIC 10
StudentDateOfBirth DATE - NOT NULL
Guardian Table:
Field Name Data Type Field Length Constraint
GuardianID (PK) CHAR 3 NOT NULL
GuardianFirstName VARCHAR 20 NOT NULL
GuardianLastName VARCHAR 20 NOT NULL
GuardianPhone NUMERIC 10 NOT NULL
GuardianRelation VARCHAR 10 NOT NULL
GuardianAddress VARCHAR 40 NOT NULL
Teacher Table:
Field Name Data Type Field Length Constraint
TeacherID (PK) CHAR 3 NOT NULL
TeacherName VARCHAR 20 NOT NULL
TeacherSalary NUMERIC 6,0 NOT NULL
TeacherEmail VARCHAR 50
TeacherPhone NUMERIC 10
HealthRecord Table:
Field Name Data Type Field Length Constraint
PolicyNumber (PK) CHAR 5 NOT NULL
Immunized CHAR 1 NOT NULL
PolicyExpirationDate DATE - NOT NULL
StudentID (FK) CHAR 2 NOT NULL
Progress Table:
Field Name Data Type Field Length Constraint
ProgressID (PK) CHAR 3 NOT NULL
StudentGrade CHAR 1 NOT NULL
StudentStanding VARCHAR 15 NOT NULL
StudentID (FK) CHAR 2 NOT NULL
Finances Table:
Field Name Data Type Field Length Constraint
5
FinanceID (PK) CHAR 3 NOT NULL
TuitionDueAmount NUMERIC 6,2 NOT NULL
TuitionDueDate DATE - NOT NULL
StudentID (FK) CHAR 2 NOT NULL
Subject Table:
Field Name Data Type Field Length Constraint
SubjectID (PK) CHAR 3 NOT NULL
SubjectName VARCHAR 20 NOT NULL
TeacherID (FK) CHAR 3 NOT NULL
Classroom Table:
Field Name Data Type Field Length Constraint
ClassroomID (PK) CHAR 3 NOT NULL
TeacherID (FK) CHAR 3 NOT NULL
StudentID (FK) CHAR 2 NOT NULL
Belongsto Table:
Field Name Data Type Field Length Constraint
BelongstoID (PK) CHAR 3 NOT NULL
GuardianID (FK) CHAR 3 NOT NULL
StudentID (FK) CHAR 2 NOT NULL
Implementation:
Creating the database for each table
student Table
The table stores student information, such as their unique ID (studentid), first and
last names, gender, optional contact number, and date of birth.
6
guardian Table:
This table holds details about guardians. Each guardian has an ID (guardianid) along
with their names, phone number, relation to the student, and address.
teacher Table
7
The teacher table contains information about teachers. Each teacher has an ID
(teacherid), name, salary, email, and phone number.
healthrecord Table
This table tracks health-related records. It includes a policy number (policynumber),
an indication of whether the student is immunized (immunized), policy expiration
date, and a reference to the student the record is linked to (studentid).
8
progress Table
the progress table records academic progress. Each entry has a unique ID
(progressid), the student's grade, their standing, and it is linked to the respective
student which is studentid.
finances Table
9
Finance is managed in this table. Entries have IDs (financeid), the amount of tuition
due (tuitiondueamount), the due date (tuitionduedate), and a reference to the
student (studentid).
subject Table
In the subject table each subject has an ID (subjectid), a name (subjectname), and is
associated with a teacher through a teacher ID reference (teacherid).
10
classroom Table
In the classroom table each classroom has an ID (classroomid), is associated with a
teacher through a teacher ID reference (teacherid) and can have students linked via
their student IDs (studentid).
Belongsto Table
Establishes student-guardian relationships by connecting students and their
respective guardians, offering insights into family associations.
11
b. Populating the data for the table.
The following collection of Screenshot code that populates the specific table with
data for 20 different data.
The attached screenshot displays the code employed to populate the 'student' table
with 20 distinct entries.
The attached screenshot displays the code employed to populate the 'guardian'
table with 20 distinct entries.
12
The attached screenshot displays the code employed to populate the 'teacher' table
with 20 distinct entries.
The attached screenshot displays the code employed to populate the 'healthrecord'
table with 20 distinct entries.
13
The attached screenshot displays the code employed to populate the 'progress' table
with 20 distinct entries.
The attached screenshot displays the code employed to populate the 'finances' table
with 20 distinct entries.
14
The attached screenshot displays the code employed to populate the 'subject' table
with 20 distinct entries.
The attached screenshot displays the code employed to populate the 'classroom'
table with 20 distinct entries.
15
The attached screenshot displays the code employed to populate the 'belongsto'
table with 20 distinct entries.
16
III. Queries
In the Group database project below are the queries we executed together with an explanation
of what each does.
1.A simple select with ordering query.
This query retrieves firstname,lastname and date of birth column from the wisdom table and
orders them by firstname.In default they are arranged in descending order
17
This query retrieves and displays essential details of guardians. It selects columns
including (guardianid, guardianfirstname, guardianlastname, guardianphone, and
guardianrelation )from the guardian table. The resulting output showcases these
specific attributes for each guardian.
2.A medium query
The query calculates number of students above the threshold by calculating rows in finances
table where tutionamount is greater than 5000.
18
1. B
3.A Join and grouping with aggregate function query
The table uses a Left join with health table to retrieve the firstname,lastname and the
immunized related to ‘Y’and then groups the results in either by studentid,
firstname,lastname
19
3.B
4.A subquery:
20
The query uses a subquery to find student id where immunized include ‘Y’ AND then selects
there corresponding names.
5.Inner Join query
The query returns studentfirstname,studentlastname and tutuitionamount for all students.
21
5. B.
The query returns studentfirstname,studentlastname,subjectname and teachername for all
students under a join on subjected on teacherid
22
6.A View query
The query creates a view named StuGurdianview that retrieves first name ,last name and
tuitionamount for students who have made payments as recorded in the finances table.Uses
inner join to combine data from the two tables finances and student tables.
23
7.A union query
The query combine information about guardian and students in a single result.it retrives first
and last name and recordA(student or guardian)for both student and guardian from their
respective tables.
24
7.B
8.query with order by limit.
The query retrieves last 5 records from the teacher table.
25
9.Query with multiple condition
The query selects all records from the teacher table where teachersalary LIKE%170000%
AND teacheremail LIKE’%example.com’

More Related Content

Similar to Streamlining Kindergarten Management: A Database Solution

DBMS CIA.pptx
DBMS CIA.pptxDBMS CIA.pptx
DBMS CIA.pptx
AnshChhabra6
 
5252020 Rubric Detail – 31228.202030httpsucumberlands.docx
5252020 Rubric Detail – 31228.202030httpsucumberlands.docx5252020 Rubric Detail – 31228.202030httpsucumberlands.docx
5252020 Rubric Detail – 31228.202030httpsucumberlands.docx
fredharris32
 
Empirical Study on Classification Algorithm For Evaluation of Students Academ...
Empirical Study on Classification Algorithm For Evaluation of Students Academ...Empirical Study on Classification Algorithm For Evaluation of Students Academ...
Empirical Study on Classification Algorithm For Evaluation of Students Academ...
iosrjce
 
K017626773
K017626773K017626773
K017626773
IOSR Journals
 
Assessment Information .docx
Assessment Information                                        .docxAssessment Information                                        .docx
Assessment Information .docx
davezstarr61655
 
CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:
DeanMurphys
 
Paper on TnPDatabaseMgmtSystem
Paper on TnPDatabaseMgmtSystemPaper on TnPDatabaseMgmtSystem
Paper on TnPDatabaseMgmtSystem
Rohit Mate
 
Paper
PaperPaper
Paper
Rohit Mate
 
Students Knowledge based Advisor System for Colleges Admission With an Applie...
Students Knowledge based Advisor System for Colleges Admission With an Applie...Students Knowledge based Advisor System for Colleges Admission With an Applie...
Students Knowledge based Advisor System for Colleges Admission With an Applie...
IJRES Journal
 
Lesson 1 01 variation in data
Lesson 1 01 variation in dataLesson 1 01 variation in data
Lesson 1 01 variation in data
Perla Pelicano Corpez
 
Control system for entry and exit
Control system for entry and exitControl system for entry and exit
Control system for entry and exit
controlEyS
 
M-Learners Performance Using Intelligence and Adaptive E-Learning Classify th...
M-Learners Performance Using Intelligence and Adaptive E-Learning Classify th...M-Learners Performance Using Intelligence and Adaptive E-Learning Classify th...
M-Learners Performance Using Intelligence and Adaptive E-Learning Classify th...
IRJET Journal
 
Analysis Of Student Argumentation Skills On Static Fluid Topics
Analysis Of Student Argumentation Skills On Static Fluid TopicsAnalysis Of Student Argumentation Skills On Static Fluid Topics
Analysis Of Student Argumentation Skills On Static Fluid Topics
Martha Brown
 
Application of An Expert System for Assessment and Evaluation of Higher Educa...
Application of An Expert System for Assessment and Evaluation of Higher Educa...Application of An Expert System for Assessment and Evaluation of Higher Educa...
Application of An Expert System for Assessment and Evaluation of Higher Educa...
ijtsrd
 
Data mining approach to predict academic performance of students
Data mining approach to predict academic performance of studentsData mining approach to predict academic performance of students
Data mining approach to predict academic performance of students
BOHRInternationalJou1
 
Statistical Techniques in Business and Economics 15th Edition Lind Test Bank
Statistical Techniques in Business and Economics 15th Edition Lind Test BankStatistical Techniques in Business and Economics 15th Edition Lind Test Bank
Statistical Techniques in Business and Economics 15th Edition Lind Test Bank
ClaresaLan
 
-Administration-of-NATG12-NATG6.pptx....
-Administration-of-NATG12-NATG6.pptx....-Administration-of-NATG12-NATG6.pptx....
-Administration-of-NATG12-NATG6.pptx....
ArsinSahibol
 
Report on students' socio-economic background
Report on students' socio-economic backgroundReport on students' socio-economic background
Report on students' socio-economic background
Shourav Mahmud
 
EIF inspections - seeing the big picture.pptx
EIF inspections - seeing the big picture.pptxEIF inspections - seeing the big picture.pptx
EIF inspections - seeing the big picture.pptx
Ofsted
 
Factors influencing academic participation of undergraduate students
Factors influencing academic participation of undergraduate studentsFactors influencing academic participation of undergraduate students
Factors influencing academic participation of undergraduate students
Journal of Education and Learning (EduLearn)
 

Similar to Streamlining Kindergarten Management: A Database Solution (20)

DBMS CIA.pptx
DBMS CIA.pptxDBMS CIA.pptx
DBMS CIA.pptx
 
5252020 Rubric Detail – 31228.202030httpsucumberlands.docx
5252020 Rubric Detail – 31228.202030httpsucumberlands.docx5252020 Rubric Detail – 31228.202030httpsucumberlands.docx
5252020 Rubric Detail – 31228.202030httpsucumberlands.docx
 
Empirical Study on Classification Algorithm For Evaluation of Students Academ...
Empirical Study on Classification Algorithm For Evaluation of Students Academ...Empirical Study on Classification Algorithm For Evaluation of Students Academ...
Empirical Study on Classification Algorithm For Evaluation of Students Academ...
 
K017626773
K017626773K017626773
K017626773
 
Assessment Information .docx
Assessment Information                                        .docxAssessment Information                                        .docx
Assessment Information .docx
 
CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:
 
Paper on TnPDatabaseMgmtSystem
Paper on TnPDatabaseMgmtSystemPaper on TnPDatabaseMgmtSystem
Paper on TnPDatabaseMgmtSystem
 
Paper
PaperPaper
Paper
 
Students Knowledge based Advisor System for Colleges Admission With an Applie...
Students Knowledge based Advisor System for Colleges Admission With an Applie...Students Knowledge based Advisor System for Colleges Admission With an Applie...
Students Knowledge based Advisor System for Colleges Admission With an Applie...
 
Lesson 1 01 variation in data
Lesson 1 01 variation in dataLesson 1 01 variation in data
Lesson 1 01 variation in data
 
Control system for entry and exit
Control system for entry and exitControl system for entry and exit
Control system for entry and exit
 
M-Learners Performance Using Intelligence and Adaptive E-Learning Classify th...
M-Learners Performance Using Intelligence and Adaptive E-Learning Classify th...M-Learners Performance Using Intelligence and Adaptive E-Learning Classify th...
M-Learners Performance Using Intelligence and Adaptive E-Learning Classify th...
 
Analysis Of Student Argumentation Skills On Static Fluid Topics
Analysis Of Student Argumentation Skills On Static Fluid TopicsAnalysis Of Student Argumentation Skills On Static Fluid Topics
Analysis Of Student Argumentation Skills On Static Fluid Topics
 
Application of An Expert System for Assessment and Evaluation of Higher Educa...
Application of An Expert System for Assessment and Evaluation of Higher Educa...Application of An Expert System for Assessment and Evaluation of Higher Educa...
Application of An Expert System for Assessment and Evaluation of Higher Educa...
 
Data mining approach to predict academic performance of students
Data mining approach to predict academic performance of studentsData mining approach to predict academic performance of students
Data mining approach to predict academic performance of students
 
Statistical Techniques in Business and Economics 15th Edition Lind Test Bank
Statistical Techniques in Business and Economics 15th Edition Lind Test BankStatistical Techniques in Business and Economics 15th Edition Lind Test Bank
Statistical Techniques in Business and Economics 15th Edition Lind Test Bank
 
-Administration-of-NATG12-NATG6.pptx....
-Administration-of-NATG12-NATG6.pptx....-Administration-of-NATG12-NATG6.pptx....
-Administration-of-NATG12-NATG6.pptx....
 
Report on students' socio-economic background
Report on students' socio-economic backgroundReport on students' socio-economic background
Report on students' socio-economic background
 
EIF inspections - seeing the big picture.pptx
EIF inspections - seeing the big picture.pptxEIF inspections - seeing the big picture.pptx
EIF inspections - seeing the big picture.pptx
 
Factors influencing academic participation of undergraduate students
Factors influencing academic participation of undergraduate studentsFactors influencing academic participation of undergraduate students
Factors influencing academic participation of undergraduate students
 

Recently uploaded

Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
PsychoTech Services
 
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
agdhot
 
PyData London 2024: Mistakes were made (Dr. Rebecca Bilbro)
PyData London 2024: Mistakes were made (Dr. Rebecca Bilbro)PyData London 2024: Mistakes were made (Dr. Rebecca Bilbro)
PyData London 2024: Mistakes were made (Dr. Rebecca Bilbro)
Rebecca Bilbro
 
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
Timothy Spann
 
Data Scientist Machine Learning Profiles .pdf
Data Scientist Machine Learning  Profiles .pdfData Scientist Machine Learning  Profiles .pdf
Data Scientist Machine Learning Profiles .pdf
Vineet
 
Telemetry Solution for Gaming (AWS Summit'24)
Telemetry Solution for Gaming (AWS Summit'24)Telemetry Solution for Gaming (AWS Summit'24)
Telemetry Solution for Gaming (AWS Summit'24)
GeorgiiSteshenko
 
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
eudsoh
 
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
ywqeos
 
一比一原版(heriotwatt学位证书)英国赫瑞瓦特大学毕业证如何办理
一比一原版(heriotwatt学位证书)英国赫瑞瓦特大学毕业证如何办理一比一原版(heriotwatt学位证书)英国赫瑞瓦特大学毕业证如何办理
一比一原版(heriotwatt学位证书)英国赫瑞瓦特大学毕业证如何办理
zoykygu
 
CAP Excel Formulas & Functions July - Copy (4).pdf
CAP Excel Formulas & Functions July - Copy (4).pdfCAP Excel Formulas & Functions July - Copy (4).pdf
CAP Excel Formulas & Functions July - Copy (4).pdf
frp60658
 
Salesforce AI + Data Community Tour Slides - Canarias
Salesforce AI + Data Community Tour Slides - CanariasSalesforce AI + Data Community Tour Slides - Canarias
Salesforce AI + Data Community Tour Slides - Canarias
davidpietrzykowski1
 
saps4hanaandsapanalyticswheretodowhat1565272000538.pdf
saps4hanaandsapanalyticswheretodowhat1565272000538.pdfsaps4hanaandsapanalyticswheretodowhat1565272000538.pdf
saps4hanaandsapanalyticswheretodowhat1565272000538.pdf
newdirectionconsulta
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
TeukuEriSyahputra
 
Call Girls Hyderabad (india) ☎️ +91-7426014248 Hyderabad Call Girl
Call Girls Hyderabad  (india) ☎️ +91-7426014248 Hyderabad  Call GirlCall Girls Hyderabad  (india) ☎️ +91-7426014248 Hyderabad  Call Girl
Call Girls Hyderabad (india) ☎️ +91-7426014248 Hyderabad Call Girl
sapna sharmap11
 
Drownings spike from May to August in children
Drownings spike from May to August in childrenDrownings spike from May to August in children
Drownings spike from May to August in children
Bisnar Chase Personal Injury Attorneys
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics May 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics May 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics May 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics May 2024
Vietnam Cotton & Spinning Association
 
Call Girls Hyderabad ❤️ 7339748667 ❤️ With No Advance Payment
Call Girls Hyderabad ❤️ 7339748667 ❤️ With No Advance PaymentCall Girls Hyderabad ❤️ 7339748667 ❤️ With No Advance Payment
Call Girls Hyderabad ❤️ 7339748667 ❤️ With No Advance Payment
prijesh mathew
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
nyvan3
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
bmucuha
 
Senior Engineering Sample EM DOE - Sheet1.pdf
Senior Engineering Sample EM DOE  - Sheet1.pdfSenior Engineering Sample EM DOE  - Sheet1.pdf
Senior Engineering Sample EM DOE - Sheet1.pdf
Vineet
 

Recently uploaded (20)

Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
Interview Methods - Marital and Family Therapy and Counselling - Psychology S...
 
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
一比一原版加拿大麦吉尔大学毕业证(mcgill毕业证书)如何办理
 
PyData London 2024: Mistakes were made (Dr. Rebecca Bilbro)
PyData London 2024: Mistakes were made (Dr. Rebecca Bilbro)PyData London 2024: Mistakes were made (Dr. Rebecca Bilbro)
PyData London 2024: Mistakes were made (Dr. Rebecca Bilbro)
 
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
06-20-2024-AI Camp Meetup-Unstructured Data and Vector Databases
 
Data Scientist Machine Learning Profiles .pdf
Data Scientist Machine Learning  Profiles .pdfData Scientist Machine Learning  Profiles .pdf
Data Scientist Machine Learning Profiles .pdf
 
Telemetry Solution for Gaming (AWS Summit'24)
Telemetry Solution for Gaming (AWS Summit'24)Telemetry Solution for Gaming (AWS Summit'24)
Telemetry Solution for Gaming (AWS Summit'24)
 
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
一比一原版马来西亚博特拉大学毕业证(upm毕业证)如何办理
 
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
一比一原版(lbs毕业证书)伦敦商学院毕业证如何办理
 
一比一原版(heriotwatt学位证书)英国赫瑞瓦特大学毕业证如何办理
一比一原版(heriotwatt学位证书)英国赫瑞瓦特大学毕业证如何办理一比一原版(heriotwatt学位证书)英国赫瑞瓦特大学毕业证如何办理
一比一原版(heriotwatt学位证书)英国赫瑞瓦特大学毕业证如何办理
 
CAP Excel Formulas & Functions July - Copy (4).pdf
CAP Excel Formulas & Functions July - Copy (4).pdfCAP Excel Formulas & Functions July - Copy (4).pdf
CAP Excel Formulas & Functions July - Copy (4).pdf
 
Salesforce AI + Data Community Tour Slides - Canarias
Salesforce AI + Data Community Tour Slides - CanariasSalesforce AI + Data Community Tour Slides - Canarias
Salesforce AI + Data Community Tour Slides - Canarias
 
saps4hanaandsapanalyticswheretodowhat1565272000538.pdf
saps4hanaandsapanalyticswheretodowhat1565272000538.pdfsaps4hanaandsapanalyticswheretodowhat1565272000538.pdf
saps4hanaandsapanalyticswheretodowhat1565272000538.pdf
 
Template xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptxTemplate xxxxxxxx ssssssssssss Sertifikat.pptx
Template xxxxxxxx ssssssssssss Sertifikat.pptx
 
Call Girls Hyderabad (india) ☎️ +91-7426014248 Hyderabad Call Girl
Call Girls Hyderabad  (india) ☎️ +91-7426014248 Hyderabad  Call GirlCall Girls Hyderabad  (india) ☎️ +91-7426014248 Hyderabad  Call Girl
Call Girls Hyderabad (india) ☎️ +91-7426014248 Hyderabad Call Girl
 
Drownings spike from May to August in children
Drownings spike from May to August in childrenDrownings spike from May to August in children
Drownings spike from May to August in children
 
[VCOSA] Monthly Report - Cotton & Yarn Statistics May 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics May 2024[VCOSA] Monthly Report - Cotton & Yarn Statistics May 2024
[VCOSA] Monthly Report - Cotton & Yarn Statistics May 2024
 
Call Girls Hyderabad ❤️ 7339748667 ❤️ With No Advance Payment
Call Girls Hyderabad ❤️ 7339748667 ❤️ With No Advance PaymentCall Girls Hyderabad ❤️ 7339748667 ❤️ With No Advance Payment
Call Girls Hyderabad ❤️ 7339748667 ❤️ With No Advance Payment
 
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
一比一原版英国赫特福德大学毕业证(hertfordshire毕业证书)如何办理
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Senior Engineering Sample EM DOE - Sheet1.pdf
Senior Engineering Sample EM DOE  - Sheet1.pdfSenior Engineering Sample EM DOE  - Sheet1.pdf
Senior Engineering Sample EM DOE - Sheet1.pdf
 

Streamlining Kindergarten Management: A Database Solution

  • 1. 1 Group #8 Lakpa Yanzi Sherpa (1370468) Keshab Luitel CSCI 3423.50 Final Project Part 2 – Project Implementation Name of the Kindergarten: Wisdom Kindergarten This is the progress of the second phase. Other requirements can be added as we move on where necessary. Project goal: This project involves creating a user-friendly Database Management Software for Wisdom Kindergarten. The software streamlines the management of student information, including health records and outstanding balances, while enhancing administrative operations and decision-making. It efficiently handles data about guardians, students, teachers, health records, finances, subjects, and classrooms, enabling easy student tracking, health insights, financial planning, and progress monitoring. The software also fosters smooth communication among users and facilitates connections between guardians, teachers, and students, simplifying kindergarten administration. Database Description: The database will store data related to 8 entities which include: Student,Guardian,Teachers,HealthRecord,Finances, Progress.classroom and subject. Benefits: Store and keep track of student details like names,date of birth. store and manage guardian details like names,phone numbers.
  • 2. 2 Store and manage teacher information such as name,prefessional qualification. Record student progress Keep track of health records such as allergies of students. Manage classrooms and subjects. Manage finances by monitoring payment status and deadlines. Data Model & Design: ER DIRAGRAM Below is the attachment of the relational schema based on the ER diagram, which is above,
  • 3. 3 Business rules: 1.Phone number maybe optional to teachers. 2.Each guardian can provide one or more phone contact. 3.Student can have an allergie to multiple items. 4.Each student makes specific payment. 5.Each payment has a status like overdue. 6.Each student has one progress record. 7.Each student has one health record. 8.Each student has one or more guardian. 9.Teachers can be linked to one or more students. 10.classroom can be linked to one or more students. 11.Subject can be linked to one or more students. Data dictionary:
  • 4. 4 Student Table: Field Name Data Type Field Length Constraint StudentID (PK) CHAR 2 NOT NULL StudentFirstName VARCHAR 20 NOT NULL StudentLastName VARCHAR 20 NOT NULL StudentGender CHAR 1 NOT NULL StudentContactNumber NUMERIC 10 StudentDateOfBirth DATE - NOT NULL Guardian Table: Field Name Data Type Field Length Constraint GuardianID (PK) CHAR 3 NOT NULL GuardianFirstName VARCHAR 20 NOT NULL GuardianLastName VARCHAR 20 NOT NULL GuardianPhone NUMERIC 10 NOT NULL GuardianRelation VARCHAR 10 NOT NULL GuardianAddress VARCHAR 40 NOT NULL Teacher Table: Field Name Data Type Field Length Constraint TeacherID (PK) CHAR 3 NOT NULL TeacherName VARCHAR 20 NOT NULL TeacherSalary NUMERIC 6,0 NOT NULL TeacherEmail VARCHAR 50 TeacherPhone NUMERIC 10 HealthRecord Table: Field Name Data Type Field Length Constraint PolicyNumber (PK) CHAR 5 NOT NULL Immunized CHAR 1 NOT NULL PolicyExpirationDate DATE - NOT NULL StudentID (FK) CHAR 2 NOT NULL Progress Table: Field Name Data Type Field Length Constraint ProgressID (PK) CHAR 3 NOT NULL StudentGrade CHAR 1 NOT NULL StudentStanding VARCHAR 15 NOT NULL StudentID (FK) CHAR 2 NOT NULL Finances Table: Field Name Data Type Field Length Constraint
  • 5. 5 FinanceID (PK) CHAR 3 NOT NULL TuitionDueAmount NUMERIC 6,2 NOT NULL TuitionDueDate DATE - NOT NULL StudentID (FK) CHAR 2 NOT NULL Subject Table: Field Name Data Type Field Length Constraint SubjectID (PK) CHAR 3 NOT NULL SubjectName VARCHAR 20 NOT NULL TeacherID (FK) CHAR 3 NOT NULL Classroom Table: Field Name Data Type Field Length Constraint ClassroomID (PK) CHAR 3 NOT NULL TeacherID (FK) CHAR 3 NOT NULL StudentID (FK) CHAR 2 NOT NULL Belongsto Table: Field Name Data Type Field Length Constraint BelongstoID (PK) CHAR 3 NOT NULL GuardianID (FK) CHAR 3 NOT NULL StudentID (FK) CHAR 2 NOT NULL Implementation: Creating the database for each table student Table The table stores student information, such as their unique ID (studentid), first and last names, gender, optional contact number, and date of birth.
  • 6. 6 guardian Table: This table holds details about guardians. Each guardian has an ID (guardianid) along with their names, phone number, relation to the student, and address. teacher Table
  • 7. 7 The teacher table contains information about teachers. Each teacher has an ID (teacherid), name, salary, email, and phone number. healthrecord Table This table tracks health-related records. It includes a policy number (policynumber), an indication of whether the student is immunized (immunized), policy expiration date, and a reference to the student the record is linked to (studentid).
  • 8. 8 progress Table the progress table records academic progress. Each entry has a unique ID (progressid), the student's grade, their standing, and it is linked to the respective student which is studentid. finances Table
  • 9. 9 Finance is managed in this table. Entries have IDs (financeid), the amount of tuition due (tuitiondueamount), the due date (tuitionduedate), and a reference to the student (studentid). subject Table In the subject table each subject has an ID (subjectid), a name (subjectname), and is associated with a teacher through a teacher ID reference (teacherid).
  • 10. 10 classroom Table In the classroom table each classroom has an ID (classroomid), is associated with a teacher through a teacher ID reference (teacherid) and can have students linked via their student IDs (studentid). Belongsto Table Establishes student-guardian relationships by connecting students and their respective guardians, offering insights into family associations.
  • 11. 11 b. Populating the data for the table. The following collection of Screenshot code that populates the specific table with data for 20 different data. The attached screenshot displays the code employed to populate the 'student' table with 20 distinct entries. The attached screenshot displays the code employed to populate the 'guardian' table with 20 distinct entries.
  • 12. 12 The attached screenshot displays the code employed to populate the 'teacher' table with 20 distinct entries. The attached screenshot displays the code employed to populate the 'healthrecord' table with 20 distinct entries.
  • 13. 13 The attached screenshot displays the code employed to populate the 'progress' table with 20 distinct entries. The attached screenshot displays the code employed to populate the 'finances' table with 20 distinct entries.
  • 14. 14 The attached screenshot displays the code employed to populate the 'subject' table with 20 distinct entries. The attached screenshot displays the code employed to populate the 'classroom' table with 20 distinct entries.
  • 15. 15 The attached screenshot displays the code employed to populate the 'belongsto' table with 20 distinct entries.
  • 16. 16 III. Queries In the Group database project below are the queries we executed together with an explanation of what each does. 1.A simple select with ordering query. This query retrieves firstname,lastname and date of birth column from the wisdom table and orders them by firstname.In default they are arranged in descending order
  • 17. 17 This query retrieves and displays essential details of guardians. It selects columns including (guardianid, guardianfirstname, guardianlastname, guardianphone, and guardianrelation )from the guardian table. The resulting output showcases these specific attributes for each guardian. 2.A medium query The query calculates number of students above the threshold by calculating rows in finances table where tutionamount is greater than 5000.
  • 18. 18 1. B 3.A Join and grouping with aggregate function query The table uses a Left join with health table to retrieve the firstname,lastname and the immunized related to ‘Y’and then groups the results in either by studentid, firstname,lastname
  • 20. 20 The query uses a subquery to find student id where immunized include ‘Y’ AND then selects there corresponding names. 5.Inner Join query The query returns studentfirstname,studentlastname and tutuitionamount for all students.
  • 21. 21 5. B. The query returns studentfirstname,studentlastname,subjectname and teachername for all students under a join on subjected on teacherid
  • 22. 22 6.A View query The query creates a view named StuGurdianview that retrieves first name ,last name and tuitionamount for students who have made payments as recorded in the finances table.Uses inner join to combine data from the two tables finances and student tables.
  • 23. 23 7.A union query The query combine information about guardian and students in a single result.it retrives first and last name and recordA(student or guardian)for both student and guardian from their respective tables.
  • 24. 24 7.B 8.query with order by limit. The query retrieves last 5 records from the teacher table.
  • 25. 25 9.Query with multiple condition The query selects all records from the teacher table where teachersalary LIKE%170000% AND teacheremail LIKE’%example.com’