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
WhitePhosphorus
.
Toggle Highlighting
SQL
USE wikidatawiki_p; USE enwiki_p; SELECT page_id, page_title, CONCAT("&", CONCAT_WS("&", ips_site_id), "&") AS sites FROM enwiki_p.page JOIN enwiki_p.page_props ON page_id = pp_page JOIN wikidatawiki_p.wb_items_per_site ON page_title = ips_site_page WHERE pp_propname = "disambiguation" AND LENGTH(page_title) = 3 AND NOT CONTAINS(CONCAT("&", CONCAT_WS("&", ips_site_id), "&"), "&zhwiki&") AND page_namespace = 0 AND page_is_redirect = 0 GROUP 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...