SQL
AخA
USE aawiki_p;
SELECT count(*) AS num_accounts FROM user;
SELECT count(*) AS num_nonzero_accounts FROM user WHERE user_editcount > 0;
SELECT COUNT(DISTINCT IF(rev_user = 0, rev_user_text, rev_user)) AS num_rev_users FROM revision;
SELECT COUNT(rev_id) AS num_edits FROM revision;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.