Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Superzerocool
.
Get all user with a image in a category and it determinates if it is a newbie (if I consider the registration timestamp) and the number of uploads
Toggle Highlighting
SQL
use commonswiki_p; select distinct user_name, user_registration, (case when user_registration between '201308310000' and '20131001000000' then 1 else 0 end) newbie , count(*) uploads from categorylinks join page on page_id = cl_from join image on img_name = page_title join `user` on img_user = user_id where cl_to = 'Images_from_Wiki_Loves_Monuments_2013_in_Chile' and cl_type = 'file'
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...