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
Chlod
.
catchy name.
Toggle Highlighting
SQL
-- Use underscores instead of spaces SET @PAGE = "Dog"; SET @NAMESPACE = 0; SELECT `actor_name` as `Username`, `user_editcount` as `Edits`, COUNT(`actor_name`) as `Edits on page`, DATE_FORMAT(`user_registration`, "%Y-%m-%d %H:%i:%s") as `Registration date`, IF(ipb_sitewide = 1, "Y", NULL) as `Currently blocked` FROM revision_userindex JOIN actor_revision ON rev_actor = actor_id JOIN `user` ON actor_user = user_id LEFT JOIN ipblocks ON user_id = ipb_user WHERE -- user_registration < 20220101000000 rev_page = (SELECT page_id FROM page WHERE page_title = @PAGE AND page_namespace = @NAMESPACE) GROUP BY actor_name ORDER BY `Edit Count` 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...