SQL
x
set @prefix := "Nux/";
set @namespace := 2;
select
*
from (
select
page_id,
page_title,
min(rev_timestamp) as created,
page_is_redirect,
count(rev_id) as rev_count
from page
inner join revision on rev_page = page_id
where
page_title like concat(@prefix, '%') and
page_namespace = @namespace
group by
page_id
) subquery
join page using (page_id)
group by
page_id, created
;
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.