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 talk pages #SELECT pag_len FROM page LIMIT 10; #length of articles SELECT page_title, page_len FROM page WHERE page_title NOT LIKE "%bot%" AND page_title NOT LIKE "%Bot%" LIMIT 10; #SELECT rev_page, page_title, rev_timestamp, rev_user, user_name FROM revision JOIN page ON rev_page = page_id JOIN user ON rev_user= user_id ORDER by rev_timestamp ASC limit 10;
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...