14
Student Resource Planner Keyur Shah Lyon Pinto Nikita Ahuja Tejal Kanase D e December 8, 2014 11 am Client: Center of Health, Information and Decision System (CHIDS) in Robert H Smith School of Business

Student Resource Planner Database Presentation

Embed Size (px)

Citation preview

Page 1: Student  Resource Planner Database Presentation

Student Resource Planner

Keyur ShahLyon PintoNikita AhujaTejal Kanase

D

e

c

December 8, 2014 11 am

Client: Center of Health, Information and Decision System (CHIDS) in Robert H Smith School of Business

Page 2: Student  Resource Planner Database Presentation

Mission Statement & Objectives

➢ Background

Database development for a functional research department in Robert H. Smith School of Business, named, Center of Health, Information and Decision System (CHIDS)

➢ Mission Statement

Student Resource Planner helps the research department faculty to assign students to ongoing project(s) according to their coursework and analyze project budget status using payroll and sponsor information

➢ Mission Objectives

1. Each student is enrolled for course(s) taught by a faculty member2. Students are supervised by senior students3. Each Research Student is associated with single research department4. Students have a unique payroll ID and associated projects contain payroll information5. Students, Faculty, Research Department and Projects are a part of project team6. Project have project sponsor(s)

Page 3: Student  Resource Planner Database Presentation

Conceptual Database Design

Page 4: Student  Resource Planner Database Presentation

Logical Database DesignStudent

StudentId StuFirstName StuLastName GradYear StuDOB StuEmail StuPhone LinkedIn_Link SrStudentId

CourseId courseName courseDesc

Course

FacultyId FacFirstName FacLastName FacTitle FacDesc FacDoj FacEmail FacPhone FacWebsite

Faculty

StudentId CourseId FacultyId StuYear StuSemester

CourseEnrolled

departmentId deptName

Department

StudentId FacultyId departmentId projId joining_date

ProjectTeam

projId projName projDesc projStartDate projEndDate projStatus

Project

projId payrollId

ProjectPayroll

Payroll

payrollId noOfHoursWorked payPerHour salaryPayDate StudentID

Page 5: Student  Resource Planner Database Presentation

Physical Database Design

★ Course Enrolled - relationship between Student, Course and FacultyCreate Query:

create table CourseEnrolled (StudentId Varchar (10) not null,

courseId Varchar (10) not null,

FacId Varchar (10) not null,

C_Year numeric (4,0),

C_Semester varchar (10),

CONSTRAINT pk_CourseEnrolled_StuCourseFac PRIMARY KEY (StudentId, courseId, FacId),

CONSTRAINT fk_CourseEnrolled_StudentId foreign KEY (StudentId) references Student(StudentId) on update

CASCADE on DELETE CASCADE,

CONSTRAINT fk_CourseEnrolled_CourseId foreign KEY (courseId) references Course(courseId) on update CASCADE

on DELETE CASCADE,

CONSTRAINT fk_CourseEnrolled_FacId foreign KEY (FacId) references Faculty(FacId) on update CASCADE on

DELETE CASCADE);

Page 6: Student  Resource Planner Database Presentation

Physical Database Design

★ Payroll Details View: Student, Project, PayrollCreate Query (View):

CREATE VIEW [Payroll Details] AS

SELECT S.StudentId, S.StuFirstName, S.StuLastName, Y.projId, P.payPerHour as 'Hourly Rate’, P.noOfHoursWorked

as 'Number Of Hours Worked’

FROM Student S , Payroll P ,Project_Payroll Y

WHERE S.studentId=P.StudentId And P.payrollId=Y.payrollId ;

Page 7: Student  Resource Planner Database Presentation

Use Case

★ Display project details of a particular department

select * from Project_SRP where projId in(select projId from ProjectTeam where departmentId='RD1');

Page 8: Student  Resource Planner Database Presentation

Use Case

★ Display Payroll Details (View)

select * from Payroll Details;

Page 9: Student  Resource Planner Database Presentation

★ Add Functionality: Adding new Student to database using Frontend

Application

Newly added student is updated at the bottom of the list

Adding new Student: S00080

Page 10: Student  Resource Planner Database Presentation

★ Update Functionality: Updating Faculty information

Before update

Application

Page 11: Student  Resource Planner Database Presentation

★ Update Functionality: Updating Faculty information

While updating

Application

Page 12: Student  Resource Planner Database Presentation

★ Update Functionality: Updating Faculty information

After Update

Application

Page 13: Student  Resource Planner Database Presentation

Questions...

Page 14: Student  Resource Planner Database Presentation