I’ve several tables in a database, the tables’ structures and sample data (partly extracted) below
1. tblTutor – Tref, Name, First Name, Alias, District, Interests. Key: TRef
2. tblTAppt – UID, ApptStart_Dt, ApptEnd_Dt, Company, TRef (Foreign key)
3. tblTAssign_FPA - TRef, AcademicYr, Rotation, Session, TRef (foreign key).
4. tblTeachTT_FPA – DtTeach, Rotation, Session, SGp, AcademicYr
tblTutor contains personal demographic information
tblTAppt contains the appointment records
tblTAssign_FPA contains the job assignments
tblTeachTT_FPA contains the teach program’s timetable
I need to build a report with a query to get the tutors from tblTAssign_FPA in year of 2006, for examples, tbltutor.Lastnames, tblTutor.FirstName, tblTAppt.company and tblTeachTT_FPA.SGp they’ll teach and group them in the order of tblTeachTT_FPA.SGp and then have tutor’s names sorted in order .
Would you have any suggestions? Thanks in advance
Sample data can be viewed with the attachment.
1. tblTutor – Tref, Name, First Name, Alias, District, Interests. Key: TRef
2. tblTAppt – UID, ApptStart_Dt, ApptEnd_Dt, Company, TRef (Foreign key)
3. tblTAssign_FPA - TRef, AcademicYr, Rotation, Session, TRef (foreign key).
4. tblTeachTT_FPA – DtTeach, Rotation, Session, SGp, AcademicYr
tblTutor contains personal demographic information
tblTAppt contains the appointment records
tblTAssign_FPA contains the job assignments
tblTeachTT_FPA contains the teach program’s timetable
I need to build a report with a query to get the tutors from tblTAssign_FPA in year of 2006, for examples, tbltutor.Lastnames, tblTutor.FirstName, tblTAppt.company and tblTeachTT_FPA.SGp they’ll teach and group them in the order of tblTeachTT_FPA.SGp and then have tutor’s names sorted in order .
Would you have any suggestions? Thanks in advance
Sample data can be viewed with the attachment.