Moodle SQL added