SQL
x
use hewiki_p;
select distinct(page_title) as name, 'exists' as status from page_restrictions join page
on pr_page = page_id
where pr_level = 'editautopatrolprotected'
and page_namespace = 0
union
select pt_title as name, 'not exists' as status from protected_titles
where pt_create_perm = 'editautopatrolprotected'
and pt_namespace = 0
order by name
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.