SQL
x
use hewiki_p;
select page_title, count(pl_title) from pagelinks join page
on pl_from = page_id
where page_namespace = 0
and pl_namespace = 0
and page_is_redirect = 0
and not exists
(select * from page as p1
where pl_title = p1.page_title
and p1.page_namespace = 0)
group by pl_from
limit 1
#select pl_title from pagelinks
#where pl_from = 7
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.