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 DESC LIMIT 10; #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 DESC LIMIT 10; #length of articles SHOW TABLES;
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...