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
Anerka
.
Toggle Highlighting
SQL
USE trwiki_p; SELECT pl_namespace, pl_title, link_count FROM ( SELECT *, COUNT(pl_from) AS link_count FROM pagelinks JOIN page AS pfrom ON pl_from = pfrom.page_id WHERE pfrom.page_title NOT LIKE 'Wantedpages%' AND pl_namespace = 0 GROUP BY pl_namespace, pl_title HAVING COUNT(pl_from) >= 20 ORDER BY COUNT(pl_from) DESC, pl_namespace, pl_title ) AS x LEFT JOIN page AS ptarget ON ptarget.page_title=pl_title AND ptarget.page_namespace=pl_namespace WHERE ptarget.page_title IS null;
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...