SQL
x
use ruwiki_p;
select count(*) from categorylinks
where exists
(select * from page
where page_id = cl_from
and page_namespace = 0)
and not exists
(select * from page
where page_title = cl_to
and page_namespace = 14
and not page_is_redirect)
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.