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
Lucas Werkmeister (WMDE)
.
How often each initial letter of a user name on Wikidata occurs, counting only users who have at least one edit in the last thirty days (i. e. active users). (Note: excludes non-ASCII initial letters because SUBSTR() truncates by byte, not by code point.)
Toggle Highlighting
SQL
USE wikidatawiki_p; SELECT SUBSTR(user_name, 1, 1) AS initial, COUNT(DISTINCT user_name) AS count FROM user WHERE user_id IN (SELECT DISTINCT rc_user FROM recentchanges) GROUP BY initial HAVING initial < 0x80 -- exclude truncated UTF-8 fragments ORDER BY initial 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...