DB Report Example
DB Report Example
In Partial Fulfillment
Of Requirements for the Course
1501208 Database Management System
1. Project Scope
1.1 Background and Problem Definition
1.2 Objectives
1.4Scope
Fig
ure 3.1: Context level
2.2 DFD Level 0
This is ERD of this system, it have five entities. They are student, admin, course, student
and admin, and hire job.
- Student entity has student ID, student first name, student last name, gender, address,
phone number, email, GPAX, GPA, advisor, username and password.
- Admin entity has admin ID, admin first name, admin last name, address, phone number
and email.
- Course entity has course ID, course name, section, date, time, total hour, room, amount of
student, teacher and major.
- Student and Admin entity have student ID and admin ID.
- Hire job entity has student ID, course ID, course name, major, requirement, approved and
empty.
Student entity has relationship one-to-many with Hire job entity.
Student entity has relationship one-to-many with Student and Admin entity.
Admin entity has relationship one-to-many with Student and Admin entity.
Admin entity has relationship one-to-many with Hire job entity.
Admin entity has relationship one-to-many with Course entity.
Hire job entity has relationship one-to-many with Course entity.
4. Data dictionary
5. SQL
This section is the illustration of SQL using in this project
5.1 Creating table structure
CREATE TABLE `audit` (
`AUDIT_ID` int(4) NOT NULL,
`CUSTOMER_ID` varchar(4) NOT NULL,
`LOG_DATE` date NOT NULL,
`USED` decimal(18,2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;