Do you want to retrieve this information for a single user, or for all users currently logged in? What are you using for course completion: the activity "completion" criteria, or a grade, or something else?
Analytics and reporting
SQl Query
This discussion has been locked so you can no longer reply to it.