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
DannyS712
.
Toggle Highlighting
SQL
use enwikinews_p; SELECT a.*, ru.*, lu.* FROM actor a JOIN revision_userindex ru ON ru.rev_id = ( SELECT ru2.rev_id FROM revision_userindex ru2 WHERE a.actor_id = ru2.rev_actor ORDER BY ru2.rev_timestamp DESC LIMIT 1 ) JOIN logging_userindex lu ON lu.log_id = ( SELECT lu2.log_id FROM logging_userindex lu2 WHERE a.actor_id = lu2.log_actor ORDER BY lu2.log_timestamp DESC LIMIT 1 ) WHERE a.actor_user IN ( SELECT ug_user FROM user_groups WHERE ug_group = 'sysop' )
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...