SQL
AخA
SELECT pl_title, COUNT(*) FROM pagelinks
WHERE pl_from_namespace = 0 AND pl_namespace = 0
AND NOT EXISTS (
SELECT * FROM page WHERE page_namespace = 0 AND page_title = pl_title
)
GROUP BY pl_title
ORDER BY COUNT(*) DESC, pl_title
LIMIT 1000;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.