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
'; drop database prod;
.
Toggle Highlighting
SQL
SELECT CONCAT("[[", p.page_title, "]]") AS page_title, CONCAT("[[Talk:", p.page_title, "]]") AS talk_title, lt.lt_title, COUNT(p2.page_id) FROM page AS p, page AS p2, pagelinks AS pl, templatelinks AS tl, linktarget AS lt where p.page_title = 'OnGreen' AND p.page_namespace = 0 AND p.page_is_redirect = 0 AND p.page_id = pl.pl_from AND pl.pl_namespace = 0 AND pl.pl_from_namespace = 0 AND p2.page_title = pl.pl_title AND p2.page_id = tl_from AND tl.tl_target_id = lt.lt_id AND tl.tl_from_namespace = 1 AND lt.lt_namespace = 10 AND lt.lt_title LIKE 'Wiki_roject_%' -- AND NOT lt.lt_title = '%class' -- AND NOT lt.lt_title = '%importance' -- AND NOT lt.lt_title = '%styles.css' -- AND NOT lt.lt_title = 'WikiProject\_Banner\_Shell%' -- AND NOT lt.lt_title = 'WikiProject\_banner\_shell%' GROUP BY lt.lt_title ORDER BY COUNT(p2.page_id) DESC LIMIT 50
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...