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
Jura1
.
Toggle Highlighting
SQL
SELECT REPLACE(templatelinks.tl_title,'_',' ') as template, page_props.pp_value as qid, Count(*) AS ct FROM pagelinks INNER JOIN page as p1 ON pagelinks.pl_title = p1.page_title and pagelinks.pl_namespace = p1.page_namespace INNER JOIN templatelinks ON templatelinks.tl_from = p1.page_id and templatelinks.tl_from_namespace = p1.page_namespace and templatelinks.tl_namespace = 10 INNER JOIN page as p2 ON templatelinks.tl_title = p2.page_title and templatelinks.tl_namespace = p2.page_namespace LEFT JOIN page_props ON p2.page_id = page_props.pp_page and page_props.pp_propname = "wikibase_item" WHERE pagelinks.pl_from = 14498881 GROUP BY templatelinks.tl_title, page_props.pp_value HAVING Count(*) > 2 ORDER BY ct DESC;
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...