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
Perryprog
.
Given a username, returns the percentage of edits that have a blank edit summary. (Lower is better.)
Toggle Highlighting
SQL
SET @username = 'Perryprog'; SELECT CONCAT(100 * COUNT(*) / (SELECT user_editcount FROM user WHERE user_name = @username), '%') as 'Missing summary percentage' FROM revision_userindex JOIN comment ON (rev_comment_id = comment.comment_id AND comment.comment_text = '') WHERE rev_actor = (SELECT actor_id FROM actor WHERE actor.actor_name = @username);
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...