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
Zache
.
Toggle Highlighting
SQL
SELECT concat("[[", page_title, "|]]") as page_title, page_len, concat("{{Q|", pp_value, "}}") as wikidata_item, group_concat(DISTINCT(IFNULL(cl_to,"")) separator ", " ) as categories FROM metawiki_p.iwlinks, fiwiki_p.page_props, fiwiki_p.page LEFT JOIN (select cl2.cl_from, page_title as cl_to from fiwiki_p.page, fiwiki_p.categorylinks as cl1, fiwiki_p.categorylinks as cl2 where cl1.cl_to="Huomiota_kaipaavat_sivut" and page_id=cl1.cl_from and cl2.cl_to=page_title) as problemcats ON cl_from=page_id WHERE iwl_prefix="d" AND iwl_from=7066 AND pp_propname="wikibase_item" AND iwl_title=pp_value AND pp_page=page_id ORDER BY page_title
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...