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
Bertievidgen
.
Toggle Highlighting
SQL
USE simplewiki_p; #DESCRIBE page; SELECT a.page_id, b.page_id, a.page_title, b.page_title, a.page_len, b.page_len, a.page_namespace, b.page_name_space, a.page_is_redirect, b.page_is_redirect, #COUNT(DISTINCT rev_user) AS NumEditors, #COUNT(rev_id) AS NumEdits FROM page a JOIN page b ON a.page_id = b.page_id #AND JOIN revision ON rev_page = a.page_id #WHERE LOWER(rev_user) NOT LIKE LOWER("%bot%") AND a.page_is_redirect = "0" AND a.page_is_redirect = "1" AND a.page_namespace = "0" AND b.page_namespace="1" GROUP by a.page_id ORDER BY RAND() LIMIT 1000;
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...