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
Mdaniels5757
.
Toggle Highlighting
SQL
SELECT bt_user_text AS `Target`, ug_group AS `Group`, actor_block.actor_name AS `Blocking admin`, DATE_FORMAT(bl_timestamp, '%Y-%m-%d %H:%i') AS `Blocked at`, CASE WHEN bl_expiry = "infinity" THEN "never" ELSE DATE_FORMAT(bl_expiry, '%Y-%m-%d %H:%i') END AS `Block expires`, comment_text AS `Reason` FROM block INNER JOIN block_target ON bl_target = bt_id INNER JOIN comment_block ON bl_reason_id = comment_id INNER JOIN actor_block ON bl_by_actor = actor_id INNER JOIN user_groups ON bt_user = ug_user WHERE bt_address IS NULL #AND bl_timestamp < DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -1 YEAR), '%Y%m%d%H%i%s') ORDER BY bl_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...