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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE cswiki_p; SELECT page_title, ips2.ips_site_id, ll_title, ips2.ips_site_page FROM (SELECT * FROM langlinks WHERE ll_lang = "en") AS ll JOIN (SELECT * FROM page WHERE page_namespace = 0 AND page_is_redirect = 0) AS page ON page_id = ll_from JOIN (SELECT * FROM wikidatawiki_p.wb_items_per_site WHERE ips_site_id = "cswiki") AS ips1 ON ips1.ips_site_page = REPLACE(page_title,'_',' ') JOIN (SELECT * FROM wikidatawiki_p.wb_items_per_site) AS ips2 ON ips2.ips_item_id = ips1.ips_item_id AND ips2.ips_site_id = CONCAT(ll_lang,"wiki") LIMIT 50;
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...