This query is marked as a draft This query has been published by Bdijkstra.

SQL

AخA
 
SELECT 
    cat_title AS `cat`,
    (cat_pages-cat_subcats-cat_files) AS `pages`,
    cat_subcats AS `subcats`,
    cat_files AS `files`,
    cat_pages AS `total`,
    MAX(rev_timestamp) AS `newest_page`
FROM category, categorylinks, revision
WHERE cat_title NOT REGEXP '^(Wikipedia:|[A-Z][a-z]+_uit_het_[ANOP][a-zë]+_gebied|Diersoort_beschreven_in_[1-9][0-9]+|IUCN-status_)' AND
    cat_title=cl_to AND cl_from=rev_page AND rev_parent_id=0
GROUP BY cat
ORDER BY `pages` DESC
LIMIT 50
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...