SQL
x
use hewiki_p;
select count(pl_from), pl_title from pagelinks
where pl_namespace = 0
and pl_from_namespace = 0
and not exists
(select * from page
where page_namespace = 0
and page_title = pl_title)
group by pl_title
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.