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
Larske
.
Toggle Highlighting
SQL
/* SELECT page1.page_title, lt_title, lt_namespace FROM pagelinks JOIN linktarget ON pl_target_id=lt_id JOIN page AS page1 ON pl_from=page1.page_id JOIN categorylinks ON page1.page_id=cl_from LEFT OUTER JOIN page AS page2 ON lt_title=page2.page_title WHERE */ SELECT page1.page_title, COUNT(*) AS antal FROM pagelinks JOIN linktarget ON pl_target_id=lt_id JOIN page AS page1 ON pl_from=page1.page_id JOIN categorylinks ON page1.page_id=cl_from LEFT OUTER JOIN page AS page2 ON lt_title=page2.page_title WHERE page1.page_title LIKE 'A%' OR page1.page_title LIKE 'B%' AND lt_namespace = 0 AND cl_to = 'Efternamnsförgreningssidor' AND page2.page_id IS NULL GROUP BY page1.page_title HAVING antal>9 ORDER BY antal DESC
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...