mirror of
https://github.com/moodle/moodle.git
synced 2025-03-07 01:10:02 +01:00
This refactors the SQL to join on a distinct list of users, removing the need for GROUP BY statements, and fixing the related errors in Oracle/MSSQL