Dataguy1980
05-14-2008, 10:49 AM
Hey, i have to create a database for a driving school and having some problems, never really grasped databases and i have an assignment that has to be handed in in a few days.
I have just set up my tables and have to include some of the following:
• Daily Printout on what lessons the instructor has
• A weekly cancellation printout
• A report on how many hours each driver does per week
• A report stating how many lessons each student has
• Quarterly Report
• Monthly Success Report on the students
• Monthly Failure Report on the students
• Finance Report
At the minute im having trouble on how i can book lessons for each student and dont no which method to do this.
Here is all my normalised data:
Student Details
Student ID
Student Name
Student Surname
Student Address
Student Landline
Student Mobile
Student Email
Student DOB
Student Gender
Student Next of Kin
Student Tel of Next Kin
Student Provisional No
Lesson
Student ID
Lesson Type
Lesson Time
Lesson Date
Lesson Cost
Collection Address
Drop off Point
Instructor ID
Instructor Details
Instructor ID
Driver Name
Driver Surname
Driver Address
Driver Mobile
Driver Email
Driver DOB
Driver Next of Kin
Driver Tel Next of Kin
Driver Instructor No
Driver ADI No
Driver License No
Driver Doctors No
Driver License Renewal Date
Student Pass/Fail
Student ID
Student Pass/Fail Date
Student Test Date
Lesson Type
Lesson Type
Lesson Cost
I have just set up my tables and have to include some of the following:
• Daily Printout on what lessons the instructor has
• A weekly cancellation printout
• A report on how many hours each driver does per week
• A report stating how many lessons each student has
• Quarterly Report
• Monthly Success Report on the students
• Monthly Failure Report on the students
• Finance Report
At the minute im having trouble on how i can book lessons for each student and dont no which method to do this.
Here is all my normalised data:
Student Details
Student ID
Student Name
Student Surname
Student Address
Student Landline
Student Mobile
Student Email
Student DOB
Student Gender
Student Next of Kin
Student Tel of Next Kin
Student Provisional No
Lesson
Student ID
Lesson Type
Lesson Time
Lesson Date
Lesson Cost
Collection Address
Drop off Point
Instructor ID
Instructor Details
Instructor ID
Driver Name
Driver Surname
Driver Address
Driver Mobile
Driver Email
Driver DOB
Driver Next of Kin
Driver Tel Next of Kin
Driver Instructor No
Driver ADI No
Driver License No
Driver Doctors No
Driver License Renewal Date
Student Pass/Fail
Student ID
Student Pass/Fail Date
Student Test Date
Lesson Type
Lesson Type
Lesson Cost