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
Maximilianklein
.
Toggle Highlighting
SQL
use arwiki_p; set @actorid = (select * from actor where actor_user = 1625017); select user_id, rev_timestamp, rev_id, page_id, page_namespace from (select user_id, ts as rev_timestamp, rev_id, rev_page from (select a.rev_actor as user_id, timestamp(a.rev_timestamp) as ts, a.rev_id as rev_id, timestamp(b.mts) as mts, rev_page from (select rev_actor, rev_timestamp, rev_id, rev_page from revision_userindex where rev_actor = @actorid and rev_timestamp <= 20190604052608) a join (select rev_actor, max(rev_timestamp) as mts from revision_userindex where rev_actor = @actorid and rev_timestamp <= 20190604052608) b on a.rev_actor = b.rev_actor ) uhist where ts > date_sub(mts, interval 84 day) limit 50) revs join page on rev_page = page_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...