Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Найактивніші за кількістю завантажених файлів
by
Ilya
This query is marked as a draft
This query has been published
by
Ilya
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT @rownum := @rownum + 1 AS rank, username, gallery FROM ( SELECT CONCAT( '[[User:', img_user_text, '|', img_user_text, ']]' ) AS username, CONCAT( '[https://commons.wikimedia.org/wiki/Special:ListFiles', '?user=', REPLACE(img_user_text, ' ', '_'), ' ', COUNT(1), ']' ) AS gallery, COUNT(1) AS images FROM commonswiki_p.revision r join commonswiki_p.categorylinks c on r.rev_page = c.cl_from WHERE rev_parent_id = 0 and c.cl_to = "Images_from_Wiki_Loves_Monuments_2016" GROUP BY rev_user_text ORDER BY images DESC LIMIT 100 ) t, (SELECT @rownum := 0) r
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...