Thanks Davies for the useful queries,
Can you help me with a query that would display the total number of users that have the role 'student' in Moodle?
Such that it is the sum of students in 'Course A' and 'Course B' up to 'Course Z' (assuming 'course Z' is the last course in the system).
Thanks in advance guys..