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
Tohaomg
.
Toggle Highlighting
SQL
SELECT COUNT(1) as pages_by_bots FROM ukwiki_p.user_groups UG JOIN ukwiki_p.revision R ON UG.ug_user = R.rev_user WHERE UG.ug_group = "bot" AND R.rev_parent_id = 0 UNION SELECT COUNT(1) as pages_by_former_bots FROM ukwiki_p.user_former_groups UFG JOIN ukwiki_p.revision R2 ON UFG.ufg_user = R2.rev_user WHERE UFG.ufg_group = "bot" AND R2.rev_parent_id = 0
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...