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 plwiki_p; SELECT COUNT(p.page_title) FROM geo_tags JOIN page_props ON pp_page = gt_page_id AND pp_propname = 'wikibase_item' JOIN page AS p ON p.page_id = gt_page_id JOIN wikidatawiki_p.page AS items ON items.page_title = pp_value AND items.page_namespace = 0 LEFT JOIN wikidatawiki_p.pagelinks ON pl_from = items.page_id AND pl_namespace = 120 AND pl_title = 'P625' WHERE pl_title IS NULL AND gt_primary = 1 AND p.page_namespace = 0;#ORDER BY p.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...