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
Certes
.
Toggle Highlighting
SQL
WITH names AS (SELECT SUBSTRING_INDEX(page_title, "_", 1) AS name FROM categorylinks JOIN page ON page_id=cl_from AND page_namespace=0 AND page_title LIKE "B%" WHERE cl_type="page" AND cl_to="Feminine_given_names") SELECT pl_title Target, SUM(page_title IS NULL) LinkCount FROM pagelinks LEFT JOIN page ON page_namespace=0 AND page_title=pl_title JOIN names ON name=SUBSTRING_INDEX(pl_title, "_", 1) WHERE pl_from_namespace IN (0, 10) AND pl_namespace=0 AND pl_title LIKE "B%" AND pl_title REGEXP "^\\p{Lu}\\p{Ll}+_(\\p{Lu}(\\p{Ll}+_|\\._?))*\\p{Lu}\\p{Ll}+(_\(.*\))?$" GROUP BY Target HAVING MAX(pl_from_namespace) = 0 AND LinkCount>=10 ORDER BY LinkCount DESC, Target
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...