SQL
x
select page_title, count(*) as revs_count from (
select page_title, page_id from page
join revision on rev_page = page_id and rev_parent_id = 0
where page_namespace = 0
and page_is_redirect = 0
and rev_timestamp < '20040920000000'
) pb
join revision on page_id = rev_page
where rev_minor_edit = 0
group by page_id
having count(*) < 10;
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.