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
Rdrg109
.
The motivation for creating this query is that I wanted to know which users had contributed to Quechua Wikipedia in the last 6 months so that I could then invite them to the Telegram group used by the volunteers of that Wikipedia language edition.
Toggle Highlighting
SQL
WITH my_revision AS ( SELECT rev_id, rev_actor, CONVERT(LEFT(rev_timestamp, 4), UNSIGNED INTEGER) AS year, CONVERT(SUBSTRING(rev_timestamp, 5, 2), UNSIGNED INTEGER) AS month FROM revision ), revisions_in_this_month AS ( SELECT rev_id, rev_actor FROM my_revision WHERE year = year(curdate()) AND month = month(curdate()) LIMIT 1 ) SELECT * FROM revisions_in_this_month JOIN actor ON rev_actor = actor_id
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...