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
IJohnKennady
.
Toggle Highlighting
SQL
USE enwiki_p; SELECT tl_title, COUNT(page_title) as pages FROM page join templatelinks on tl_from=page_id left JOIN (SELECT * FROM page_props WHERE pp_propname = 'wikibase_item') AS props ON pp_page = page_id WHERE tl_namespace = 10 and tl_title like "%const" and page_namespace = 0 AND page_is_redirect = 0 AND pp_value is NULL #and page_id not in (select m.ll_from from langlinks m where m.ll_lang="ceb") group BY tl_title order by pages 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...