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
Chrisblex
.
Toggle Highlighting
SQL
USE pflwiki_p; #number of edits for each page #SELECT COUNT(rev_id) AS editcounts, page_title FROM revision JOIN user ON user_id = rev_user JOIN page ON page_id = rev_page WHERE user_name NOT LIKE "%bot%" AND user_name NOT LIKE "%Bot%" GROUP by page_title ORDER BY editcounts; #number of editors for each page #SELECT COUNT(DISTINCT(rev_user)) AS editors, page_title FROM revision JOIN user ON user_id = rev_user JOIN page ON page_id = rev_page WHERE user_name NOT LIKE "%bot%" AND user_name NOT LIKE "%Bot%" GROUP by page_title ORDER BY editors; #length of talk pages #SELECT page_title, page_len FROM page WHERE page_title NOT LIKE "%bot%" AND page_title NOT LIKE "%Bot%"; #length of articles SELECT rev_page, page_title, page_len FROM revision JOIN page ON rev_page = page_title WHERE page_title NOT LIKE "%bot%" AND page_title NOT LIKE "%Bot%" AND WHERE page_namespace = "0" LIMIT 100;
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...