Hi there,
I have what seems a tricky requirement. I have some basic totalling queries to tell me, how many tutorials have been recorded and even how many different students have had tutorials. But what I need to look at now is to get a total number of students that have had more than 1 tutorial.
All of the relevant fields for this query are in table tbl_tutorial. The unique ID in this table that I have been using to count tutorial records is TutorialNo, I have also used StudentID to count how many students.
Here is my attempt so far:
SELECT Count(tbl_Tutorial.TutorialNo) AS CountOfTutorialNo, Count(tbl_Tutorial.StudentID) AS CountOfStudentID
FROM tbl_Tutorial
HAVING (((Count(tbl_Tutorial.TutorialNo))>1));
But this seems to just count the total number of records.
I would appreciate a step by step instruction so I can learn from this.
Thanks for any replies in advance
I have what seems a tricky requirement. I have some basic totalling queries to tell me, how many tutorials have been recorded and even how many different students have had tutorials. But what I need to look at now is to get a total number of students that have had more than 1 tutorial.
All of the relevant fields for this query are in table tbl_tutorial. The unique ID in this table that I have been using to count tutorial records is TutorialNo, I have also used StudentID to count how many students.
Here is my attempt so far:
SELECT Count(tbl_Tutorial.TutorialNo) AS CountOfTutorialNo, Count(tbl_Tutorial.StudentID) AS CountOfStudentID
FROM tbl_Tutorial
HAVING (((Count(tbl_Tutorial.TutorialNo))>1));
But this seems to just count the total number of records.
I would appreciate a step by step instruction so I can learn from this.
Thanks for any replies in advance
