Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
wikidata: redirect sitelinks in items, by project
by
MisterSynergy
This query is marked as a draft
This query has been published
by
Mikey641
.
Toggle Highlighting
SQL
USE hewiki_p; -- enwiki_p, cebwiki_p, svwiki_p, dewiki_p, nlwiki_p -- frwiki_p, ruwiki_p, itwiki_p, eswiki_p, warwiki_p -- plwiki_p, viwiki_p, jawiki_p, ptwiki_p, zhwiki_p -- ukwiki_p, fawiki_p, cawiki_p, arwiki_p SELECT COUNT(p.page_id) AS cnt FROM page p JOIN page_props pp ON p.page_id=pp.pp_page WHERE p.page_namespace=0 AND pp.pp_propname='wikibase_item'; SELECT p.page_id, p.page_title, pp.pp_value FROM page p JOIN page_props pp ON p.page_id=pp.pp_page WHERE p.page_is_redirect=1 AND p.page_namespace=0 AND pp.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...