SQL
x
use hewiki_p;
select * from page join revision r0
on page_id = rev_page
where page_namespace = 0
and not page_is_redirect
and not exists
(select * from revision r1
where r1.rev_parent_id = r0.rev_id
and r1.rev_page = page_id)
and rev_timestamp < 20070401000000
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.