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
FoBe
.
Toggle Highlighting
SQL
(SELECT user_name, MAX(revision.rev_timestamp) as rev, null as log FROM actor INNER JOIN user ON user.user_id = actor.actor_user INNER JOIN user_groups ON user_groups.ug_user = user.user_id LEFT JOIN revision ON actor.actor_id = revision.rev_actor WHERE user_groups.ug_group = 'editor' AND user_name='FoBe' GROUP BY user_name) UNION (SELECT user_name, null as rev, null as MAX(logging.log_timestamp) FROM actor INNER JOIN user ON user.user_id = actor.actor_user INNER JOIN user_groups ON user_groups.ug_user = user.user_id LEFT JOIN logging ON logging.log_actor = actor.actor_id WHERE user_groups.ug_group = 'editor' AND user_name='FoBe' GROUP BY user_name) #ORDER BY MAX(revision.rev_timestamp) ASC
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...