Queries to retrieve Statistics

Re: Queries to retrieve Statistics

by Tim Hunt -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
This question is definitely not in the best forum, but still.

I would not do Query 1 like that. I think the thing you should be using, but are not, is the prefix_course_modules table (joined to the prefix_module table).