Fork of Pages with prefix, creation date and revision count by Peter Bowman
This query is marked as a draft This query has been published by Nux.

SQL

x
 
set @prefix := "Nux/";
set @namespace := 2;
select
    page_title,
    STR_TO_DATE(min(rev_timestamp), '%Y%m%d%H%i%S') as created,
    STR_TO_DATE(max(rev_timestamp), '%Y%m%d%H%i%S') as modified,
    count(rev_id) as rev_count,
    page_is_redirect
from page
    inner join revision on rev_page = page_id
where
    page_title like concat(@prefix, '%') and
    page_namespace = @namespace
group by
    page_id
order by
    modified desc, page_title asc;
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.

Checking query status...