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
Enhancing999
.
Toggle Highlighting
SQL
SELECT page_title, page_id, cat_pages, if (cat_pages = 0, "-", if (cat_pages = cat_subcats, "S", if(cat_pages = cat_files, "F", "S+F"))) as cat_content, pp_value as wikidata, cl_sortkey_prefix FROM categorylinks, page, category, page_props WHERE cl_to = "Pages_with_ftree-template" AND cl_from = page_id AND cat_title = page_title AND pp_page = page_id AND pp_propname='wikibase_item'
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...