General developer forum

what is a SQL Query for Most active Course on the Site

 
Picture of D patel
what is a SQL Query for Most active Course on the Site
 

I am working on some ad-hoc reporting requirement and i don't have any experience in moodle

 Can anyone help me to find a SQL  query for the 

 Most active Course on the Site (e.g. total activities of participants (by date and hour)


 
Average of ratings: -