Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
dewiki: count block log events for a given user
by
MisterSynergy
This query is marked as a draft
This query has been published
by
MisterSynergy
.
Toggle Highlighting
SQL
USE dewiki_p; SELECT log_title, COUNT(log_title) AS number_of_blocks FROM logging JOIN user ON logging_userindex.log_title=user.user_name WHERE log_namespace=2 AND log_type='block' AND log_action='block' GROUP BY log_title HAVING COUNT(log_title)>=10 ORDER BY number_of_blocks DESC;
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...