Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Number of total HelpDesk posts by Teahouse users as of June 30 2016
by
Flipover
This query is marked as a draft
This query has been published
by
Flipover
.
Toggle Highlighting
SQL
select rev_user, count(rev_id), rev_user_text from enwiki_p.revision_userindex as r2 join (select u.user_id from enwiki_p.revision as r join ( select user_id from enwiki_p.user where user_id is not NULL ) as u on r.rev_user = u.user_id join ( select page_id from enwiki_p.page where page_namespace = 4 and page_title="Teahouse" #Wikipedia namespace. See https://en.wikipedia.org/wiki/Wikipedia:Namespace #Wikipedia:Teahouse/Questions was recently moved to Wikipedia:Teahouse, so this is the Q&A board ) as p on r.rev_page = p.page_id where r.rev_timestamp < 20160701000000 and r.rev_user =24) as u2 #this is just a list of all userids that have contributed to the teahouse until 20160701 on r2.rev_user = u2.user_id and r2.rev_timestamp < 20160701000000 group by r2.rev_user;
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...