I would like to know how can I fetch all users who have enrolled in more than 10 courses. Unfortunately, some teachers don't know or are lazy to close the self registration and some students intentionally enrol in many courses for their own reasons.
Is there any sql query for that?