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
Jura1
.
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT COUNT(DISTINCT p1.page_title) FROM pagelinks as pl1, page as p1, pagelinks as pl2 WHERE pl1.pl_from = p1.page_id AND pl1.pl_title = "P18" AND pl1.pl_from = pl2.pl_from AND pl2.pl_title = "Q3305213" AND p1.page_title NOT IN ( SELECT eu_entity_id FROM commonswiki_p.wbc_entity_usage, commonswiki_p.page as cp WHERE eu_page_id = cp.page_id AND page_namespace = 6 AND eu_aspect = "L" )
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...