J
John
Hi,
I have a database tracking students and classes they have
taken. I have one table Training that includes the
information of the class (name, number, number of hours).
I also have a results table that tracks the results of the
students and the classes they have taken.
What I want to be able to do is to run a query that will
provide me with a sum of the total hours taken for each
class. For instance if 10 people took 'course 1' and 15
people took 'course 2' and 'course 1' lasts for 1 hour
and 'course 2' for 2 hours, i want the query to tell me
Course 1 = 10 total hours, Course 2 = 30 total hours. Any
help would be greatly appreciated thank you!!!!!!
I have a database tracking students and classes they have
taken. I have one table Training that includes the
information of the class (name, number, number of hours).
I also have a results table that tracks the results of the
students and the classes they have taken.
What I want to be able to do is to run a query that will
provide me with a sum of the total hours taken for each
class. For instance if 10 people took 'course 1' and 15
people took 'course 2' and 'course 1' lasts for 1 hour
and 'course 2' for 2 hours, i want the query to tell me
Course 1 = 10 total hours, Course 2 = 30 total hours. Any
help would be greatly appreciated thank you!!!!!!