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 user_id, user_name, user_registration, SUM(DATEDIFF(rev_timestamp, user_registration) < 30 ) AS early_main_edits, SUM(DATEDIFF(rev_timestamp, user_registration) BETWEEN 60 AND 180) AS surviving_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 categorylinks ON rev_page = cl_from WHERE rev_timestamp <= DATE_FORMAT(DATE_ADD(user_registration, INTERVAL 180 DAY), "%Y%m%d%H%i%s") AND cl_to = "Images_from_Wiki_Loves_Monuments_2018" 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...