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
Nivas10798
.
Toggle Highlighting
SQL
SELECT DISTINCT user_name, user_registration, SUM(DATEDIFF(rev_timestamp, user_registration) =< 30) AS thirtyday_edits, SUM(DATEDIFF(rev_timestamp, user_registration) =< 60 and DATEDIFF(rev_timestamp, user_registration) > 30) AS sixtyday_edits, SUM(DATEDIFF(rev_timestamp, user_registration) =< 90 and DATEDIFF(rev_timestamp, user_registration) > 60) AS nintyday_edits, FROM user INNER JOIN actor ON actor_user = user_id AND user_id != 0 INNER JOIN revision ON rev_actor = actor_id AND rev_actor != 0 INNER JOIN page ON rev_page = page_id INNER JOIN categorylinks ON rev_page = cl_from WHERE cl_to = "Images_from_Wiki_Loves_Monuments_2018" AND cl_type = "file" AND user_name NOT LIKE '%Bot%' AND rev_parent_id = 0 GROUP BY user_name
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...