mirror of
https://github.com/moodle/moodle.git
synced 2025-04-19 07:25:30 +02: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