PatriciaShoe
Technical User
I am trying to determine if I can create a select query that will produce the following data for a report. I would like a report/query that is organized as follows:
Gradesubjectname Sum of Teacher FTE Sum of Enroll by school_id
Report would like like this.
School A School B
Grade
Grade 1 4 100 5 125
Grade 2 ………
It seems to me I should be able to create this using iif statements or case statements.
Here is my table structure. Thanks so much....Patti
gradelevels
grade_subjectName Text
(PK) grade_subjectID Long Integer
displayorder Text
level_school Text
staffingDivisor Single
internal_notes Text
glnotes Text
staffing_add Long Integer
schools
schoollName Text
(PK) school_id Long Integer
principal Text
Type Text
sixth_grade_enrol Long Integer
TeacherResources
TeacherFTE Double
(PK) trschool_id Long Integer
(PK) grade_subjectid Long Integer
(PK) tryear Text
Student_enroll Double
Displayorder Text
Notes Text
Gradesubjectname Sum of Teacher FTE Sum of Enroll by school_id
Report would like like this.
School A School B
Grade
Grade 1 4 100 5 125
Grade 2 ………
It seems to me I should be able to create this using iif statements or case statements.
Here is my table structure. Thanks so much....Patti
gradelevels
grade_subjectName Text
(PK) grade_subjectID Long Integer
displayorder Text
level_school Text
staffingDivisor Single
internal_notes Text
glnotes Text
staffing_add Long Integer
schools
schoollName Text
(PK) school_id Long Integer
principal Text
Type Text
sixth_grade_enrol Long Integer
TeacherResources
TeacherFTE Double
(PK) trschool_id Long Integer
(PK) grade_subjectid Long Integer
(PK) tryear Text
Student_enroll Double
Displayorder Text
Notes Text