Moodle research

SQL Query to create a log report