Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Hubaceksarka
.
Toggle Highlighting
SQL
use cswiki_p; SELECT * from (select user.user_id, count(user.user_id) as course_taken_count from ep_users_per_course AS user_per_course join user AS user on user.user_id=user_per_course.upc_user_id join ep_courses AS courses on user_per_course.upc_course_id=courses.course_id where user_per_course.upc_role=0 group by user.user_id order by course_taken_count desc limit 10) AS top_10 INNER JOIN ep_users_per_course AS user_per_course on top_10.user_id=user_per_course.upc_user_id user_per_course.upc_role=0 ;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...