SQL
x
use hewiki_p;
select page_title from page as p
where p.page_namespace = 0
and p.page_title like "וק:%";
select substr(page_title, 6) from page as p
where p.page_namespace = 0
and p.page_title like "וק:%"
and exists
(select * from page as p1
where p1.page_namespace = 4
and p1.page_title = substr(p.page_title, 6));
select page_title from page as p
where p.page_namespace = 0
and p.page_title like "WP:%";
select substr(page_title, 4) from page as p
where p.page_namespace = 0
and p.page_title like "WP:%"
and exists
(select * from page as p1
where p1.page_namespace = 4
and p1.page_title = substr(p.page_title, 4))
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.