User:Jean-Frédéric/WmFr/2012/Uploaders

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
SELECT /* SLOW_OK */ DISTINCT img_user_text AS user, COUNT(image.img_name) as count
    FROM image, page, categorylinks
    WHERE page.page_id=categorylinks.cl_from
        AND image.img_name = page.page_title AND categorylinks.cl_to = "All_medias_supported_by_Wikimedia_France"
        AND img_timestamp BETWEEN 20120101000000 AND 20130101000000
    GROUP BY user ORDER BY count DESC;

Total: 69 rows (25.45 sec)