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
Og370
.
Toggle Highlighting
SQL
#Look for pages where cl_to is Law and cl_namespace = 0 USE enwiki_p; #Look for pages where cl_to is Law and cl_namespace = 0 SELECT page_title, count(el_to), page_counter FROM page JOIN categorylinks ON page_id = cl_from JOIN externallinks ON page_id = el_from #JOIN templatelinks ON page_id = tl_from #WHERE cl_to = "Law" #AND tl_title LIKE "%disputed%" AND page_namespace = 10 group by 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...