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
Zdzislaw
.
Toggle Highlighting
SQL
use plwikisource_p; SELECT count(DISTINCT(page_id)) as num from page where page_namespace=100 and page_is_redirect=0; SELECT page_id as num from page where page_namespace=100 and page_is_redirect=0 ORDER BY page_id DESC LIMIT 2; SELECT page_id as num from page where page_namespace=100 and page_is_redirect=0 ORDER BY page_id ASC LIMIT 2; SELECT rev_id, rev_page FROM revision WHERE rev_page IN (SELECT page_id as num from page where page_namespace=100 and page_is_redirect=0) ORDER BY rev_id ASC LIMIT 2; SELECT rev_user_text as user_name, count(rev_id) as edits FROM revision WHERE rev_page IN (SELECT page_id as num from page where page_namespace=100 and page_is_redirect=0) GROUP BY rev_user_text ORDER BY edits 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...