A
AndREa
Hi All,
I'm writing a "majors portfolio" application. I want to
track the aggregate information about our majors. I have
the student information in a (normalized) format where I
can retrieve data like studentKey took MATH course 1720 in
the Fall of 2003 and got an A+ grade from records like
KEY1 | MATH | 1720 | Fall | 2003 | A+
KEY2 | CPSC | 2731 | Fall | 2000 | C
From this data I want to get aggregate information like
* What is the first math course that our students take? I
know which courses are math course (course field = MATH) I
want to write a query that given a particular MATH course
it returns the records of students who _started_ in that
course. It's not necessary to return all students who
took the course, I want to know who had no MATH course
before taking the input course.
* How many students passed Course1 on the Mth time and
Course2 on the Nth time? An example of this is "who
passed Course1 the first time but took 2 times to pass
Course2?" [I know a student passed if they got an A,B,C.]
* What are the chances that a student starting in Course1
passes Course2? This query is not "who passed both
Course1 and Course2" but is instead "given that you
started in Course1 what are your chances of passing
Course2".
Please recommend a book that discusses advanced query
techniques. And of course, any help is much appreciated,
* AndREa * ([email protected])
I'm writing a "majors portfolio" application. I want to
track the aggregate information about our majors. I have
the student information in a (normalized) format where I
can retrieve data like studentKey took MATH course 1720 in
the Fall of 2003 and got an A+ grade from records like
KEY1 | MATH | 1720 | Fall | 2003 | A+
KEY2 | CPSC | 2731 | Fall | 2000 | C
From this data I want to get aggregate information like
* What is the first math course that our students take? I
know which courses are math course (course field = MATH) I
want to write a query that given a particular MATH course
it returns the records of students who _started_ in that
course. It's not necessary to return all students who
took the course, I want to know who had no MATH course
before taking the input course.
* How many students passed Course1 on the Mth time and
Course2 on the Nth time? An example of this is "who
passed Course1 the first time but took 2 times to pass
Course2?" [I know a student passed if they got an A,B,C.]
* What are the chances that a student starting in Course1
passes Course2? This query is not "who passed both
Course1 and Course2" but is instead "given that you
started in Course1 what are your chances of passing
Course2".
Please recommend a book that discusses advanced query
techniques. And of course, any help is much appreciated,
* AndREa * ([email protected])