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 count(course_id), case when courses.course_start like "2008%" then "2008" when courses.course_start like "2009%" then "2009" -- count(courses.course_start like "2010%") as "2010", -- count(courses.course_start like "2011%") as "2011", -- count(courses.course_start like "2012%") as "2012", -- count(courses.course_start like "2013%") as "2013", -- count(courses.course_start like "2014%") as "2014", -- count(courses.course_start like "2015%") as "2015", -- count(courses.course_start like "2016%") as "2016", -- count(courses.course_start like "2017%") as "2017", -- count(courses.course_start like "2018%") as "2018" end as courses_per_year from ep_users_per_course as users_per_course join ep_courses as courses on users_per_course.upc_course_id=courses.course_id group by courses_per_year ;
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...