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
Abapondo
.
Include redirects
Toggle Highlighting
SQL
use afwiki_p; SELECT Article_id, article_title, page_len AS TalkLen, page_namespace AS Talk_namespace, EditorNum, EditsNum, PageLen, Article_namespace FROM (SELECT page_title AS article_title, page_len AS PageLen, page_namespace AS Article_namespace, page_id AS Article_id, COUNT(DISTINCT rev_user) AS EditorNum, COUNT(rev_id) AS EditsNum FROM revision JOIN page ON rev_page = page_id WHERE LOWER(rev_user) NOT LIKE LOWER("%bot%") AND page_namespace = "0" GROUP BY page_id ORDER BY RAND() LIMIT 2000) AS temp_table #JOIN page #WHERE page_title = article_title #AND page_namespace = "1" LEFT JOIN page ON page_title = article_title AND page_namespace = "1" #RIGHT JOIN page #ON page_title = article_title #AND page_namespace = "1"
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...