Student Resource Planner
Keyur Shah
Lyon Pinto
Nikita Ahuja
Tejal Kanase
D
December 8, 2014 11 am
Client: Center of Health, Information and Decision
System (CHIDS) in Robert H Smith School of Business
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 member
2. Students are supervised by senior students
3. Each Research Student is associated with single research department
4. Students have a unique payroll ID and associated projects contain payroll information
5. Students, Faculty, Research Department and Projects are a part of project team
6. Project have project sponsor(s)
Conceptual Database Design
Logical Database Design
Student
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
Physical Database Design
★ Course Enrolled - relationship between Student, Course and Faculty
Create 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);
Physical Database Design
★ Payroll Details View: Student, Project, Payroll
Create 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 ;
Use Case
★ Display project details of a particular department
select * from Project_SRP
where projId in
(select projId from ProjectTeam where departmentId='RD1');
Use Case
★ Display Payroll Details (View)
select * from Payroll Details;
★ 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
★ Update Functionality: Updating Faculty information
Before
update
Application
★ Update Functionality: Updating Faculty information
While
updating
Application
★ Update Functionality: Updating Faculty information
After
Update
Application
Questions...
Student  Resource Planner Database Presentation

Student Resource Planner Database Presentation

  • 1.
    Student Resource Planner KeyurShah Lyon Pinto Nikita Ahuja Tejal Kanase D December 8, 2014 11 am Client: Center of Health, Information and Decision System (CHIDS) in Robert H Smith School of Business
  • 2.
    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 member 2. Students are supervised by senior students 3. Each Research Student is associated with single research department 4. Students have a unique payroll ID and associated projects contain payroll information 5. Students, Faculty, Research Department and Projects are a part of project team 6. Project have project sponsor(s)
  • 3.
  • 4.
    Logical Database Design Student StudentIdStuFirstName 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
  • 5.
    Physical Database Design ★Course Enrolled - relationship between Student, Course and Faculty Create 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);
  • 6.
    Physical Database Design ★Payroll Details View: Student, Project, Payroll Create 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 ;
  • 7.
    Use Case ★ Displayproject details of a particular department select * from Project_SRP where projId in (select projId from ProjectTeam where departmentId='RD1');
  • 8.
    Use Case ★ DisplayPayroll Details (View) select * from Payroll Details;
  • 9.
    ★ 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
  • 10.
    ★ Update Functionality:Updating Faculty information Before update Application
  • 11.
    ★ Update Functionality:Updating Faculty information While updating Application
  • 12.
    ★ Update Functionality:Updating Faculty information After Update Application
  • 13.