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
FShbib
.
Toggle Highlighting
SQL
use metawiki_p; select concat ("{{u|",user_name,"}}") as "username", (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "gblblock" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) as "Global block", (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "globalauth" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) as "Global lock", (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "gblrename" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) as "Global rename", (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "gblrights" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) as "Global rights", (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "rights" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) as "Rights", (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "abusefilter" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) as "Af edits", ( (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 32244 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 130130 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 164533 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 135805 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 31937 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 84820 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 9476 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 13356 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 117752 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 167407 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) ) as "SR edits", ( (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "gblblock" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "globalauth" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "gblrename" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "gblrights" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "rights" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from logging inner join actor on actor_id = log_actor where actor_user = user_id and log_type = "abusefilter" and log_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 9476 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 32244 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 130130 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 164533 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 135805 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 31937 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 84820 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 13356 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 117752 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) + (select count(*) from revision inner join actor on actor_id = rev_actor where actor_user = user_id and rev_page = 167407 and rev_minor_edit = 0 and rev_timestamp > DATE_SUB(NOW(), INTERVAL 1 MONTH)) ) as "Total" from user inner join user_groups on ug_user = user_id where user_name = "Meno25" OR user_name = "Sjoerddebruin";
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...