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; #SELECT rev_page, page_title, rev_user, user_name FROM revision JOIN page ON rev_page = page_id JOIN user ON rev_user= user_id LIMIT 10; #SELECT page_title, COUNT(DISTINCT(rev_user), rev_page FROM page JOIN page ON rev_oage = page_id LIMIT 10; #SELECT COUNT(rev_user) AS usercounts, page_title FROM revision JOIN page ON page_id = rev_page; #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(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 editcounts DESC 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...